Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
estuary-cdk: incremental tasks are idle if their cursor is very recent
Some resources always have _some_ level of activity every time they're checked, which would ordinarily prevent the resource from ever being considered "caught up", preventing the connector from exiting. If the LogCursor is a date-time, then additionally consider the task to be idle if the LogCursor is less-than `interval` old (where interval is configured on the ResourceConfig), and sleep until the cursor is `interval` old before issuing a successive fetch.
- Loading branch information