fix(configuration): raise the default max uptime above the task limit

This commit is contained in:
sam committed 2026-10-26 18:32:25 +11:00
1 parent ca44b9e6bb
commit 66daa071a5
2 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -65,7 +65,9 @@ network = "archie-core_default"
# for the pinning convention this repo follows for its own GHCR image.
image = "git.example.com/you/archie-agent:v1.21.0" # or "@sha256:..." for a production digest pin
max_concurrency = 4
max_uptime = "60m"
# Must outlast the whole-task limit (default 4h), or the reaper ends a run the
# task budget would have parked.
max_uptime = "5h"
# "missing": pull only when the image is absent locally. "always" against a
# private registry answers 401 because the daemon sends no credentials, so
# refresh the agent by hand: docker compose pull agent
@@ -19,7 +19,9 @@ const (
defaultForgeHost = "https://github.com"
defaultDispatchTrigger = "assignee"
defaultAckReaction = "eyes"
defaultContainerUptime = 60 * time.Minute
// defaultContainerUptime outlasts the default whole-task limit (4h) so the
// task budget, not the container reaper, ends a run.
defaultContainerUptime = 5 * time.Hour
defaultVolumeTTL = 72 * time.Hour
defaultPullPolicy = "missing"
defaultContainerImage = "ghcr.io/samcharles93/archie-agent:latest"