mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
chore(compose): raise stale-claim reaper timeouts to 30m so long agent tasks aren't reaped mid-work
This commit is contained in:
@@ -256,6 +256,11 @@ services:
|
|||||||
# Production environment selects structlog's JSONRenderer (machine-
|
# Production environment selects structlog's JSONRenderer (machine-
|
||||||
# parseable logs) over the dev ConsoleRenderer.
|
# parseable logs) over the dev ConsoleRenderer.
|
||||||
ROBOCO_ENVIRONMENT: production
|
ROBOCO_ENVIRONMENT: production
|
||||||
|
# Reaper timeouts raised to 30 min so a long agent task isn't reaped
|
||||||
|
# mid-work. ROBOCO_CLAIM_STALE_SECONDS is the heartbeat-staleness window
|
||||||
|
# _reap_stale_claims uses (the one that was killing in-progress work).
|
||||||
|
ROBOCO_CLAIM_STALE_SECONDS: "1800"
|
||||||
|
ROBOCO_STALE_CLAIM_REAP_SECONDS: "1800"
|
||||||
volumes:
|
volumes:
|
||||||
# Docker socket - allows spawning agent containers
|
# Docker socket - allows spawning agent containers
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|||||||
@@ -256,6 +256,11 @@ services:
|
|||||||
# Production environment selects structlog's JSONRenderer (machine-
|
# Production environment selects structlog's JSONRenderer (machine-
|
||||||
# parseable logs) over the dev ConsoleRenderer.
|
# parseable logs) over the dev ConsoleRenderer.
|
||||||
ROBOCO_ENVIRONMENT: production
|
ROBOCO_ENVIRONMENT: production
|
||||||
|
# Reaper timeouts raised to 30 min so a long agent task isn't reaped
|
||||||
|
# mid-work. ROBOCO_CLAIM_STALE_SECONDS is the heartbeat-staleness window
|
||||||
|
# _reap_stale_claims uses (the one that was killing in-progress work).
|
||||||
|
ROBOCO_CLAIM_STALE_SECONDS: "1800"
|
||||||
|
ROBOCO_STALE_CLAIM_REAP_SECONDS: "1800"
|
||||||
volumes:
|
volumes:
|
||||||
# Docker socket - allows spawning agent containers
|
# Docker socket - allows spawning agent containers
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
|||||||
Reference in New Issue
Block a user