It sounds like you want Airbyte syncs to stop automatically after about 3 hours. What’s available in the knowledge sources: - Airbyte has a global sync job timeout env var SYNC_JOB_MAX_TIMEOUT_DAYS, but it’s day-based (minimum 1 day), so you can’t set it to 3 hours using that variable. [[Sync hangs forum](
https://discuss.airbyte.io/t/709); [Iterable 72h forum](
https://discuss.airbyte.io/t/1495)]. - Airbyte also has heartbeat/timeouts you can tune in flags.yaml: - Source heartbeat: if the source doesn’t emit RECORD or STATE messages within a threshold (default 3 hours), the platform can fail the sync as “source is unresponsive” when heartbeat.failSync is true. You can lower hseartbeat-max-seconds-between-messages to around 10,800 seconds (3 hours) to stop a run with no source activity. [[Heartbeats](
https://docs.airbyte.com/platform/understanding-airbyte/heartbeats#technical-details)]. - Destination timeout: if a single destination call exceeds destination-timeout-max-seconds (default 24 hours), the platform can fail the sync. You could reduce this, but it applies to long destination calls rather than overall job wall time. [[Heartbeats](
https://docs.airbyte.com/platform/understanding-airbyte/heartbeats#technical-details)]. What this means for a strict “stop after 3 hours”: - There is no documented built-in setting to cap total job runtime at exactly 3 hours. The closest built-in controls are: - Heartbeat-based failure (tunable around 3 hours) for inactivity on the source. [[Heartbeats](
https://docs.airbyte.com/platform/understanding-airbyte/heartbeats#technical-details)]. - Destination call timeout (you can lower it), but it targets long destination operations, not total job time. [[Heartbeats](
https://docs.airbyte.com/platform/understanding-airbyte/heartbeats#technical-details)]. - The job-wide timeout env var is day-based, not hour-based. [[Sync hangs forum](
https://discuss.airbyte.io/t/709); [Iterable 72h forum](
https://discuss.airbyte.io/t/1495)]. Practical options you can use now: - If your problem is “runs hang with no source output,” set heartbeat.failSync=true and hseartbeat-max-seconds-between-messages to 10800 in flags.yaml to auto-fail after ~3 hours of silence. [[Heartbeats](
https://docs.airbyte.com/platform/understanding-airbyte/heartbeats#technical-details)]. - If your problem is “destination writes stall,” reduce destination-timeout-max-seconds to 10800 and keep destination-timeout.failSync=true. [[Heartbeats](
https://docs.airbyte.com/platform/understanding-airbyte/heartbeats#technical-details)]. If you need an exact 3-hour wall-clock cap regardless of activity, I’m sorry, but there’s no information about a built-in hour-level total runtime limit in the provided sources. You’d need to enforce it externally (e.g., via your orchestrator cancelling the job), since the documented env var is only in days. [[Sync hangs forum](
https://discuss.airbyte.io/t/709); [Iterable 72h forum](
https://discuss.airbyte.io/t/1495)].