Skip to content

feat(config): add GOCLAW_CRON_JOB_TIMEOUT env var override#1114

Open
nguyennguyenit wants to merge 1 commit intodevfrom
fix/cron-job-timeout-env
Open

feat(config): add GOCLAW_CRON_JOB_TIMEOUT env var override#1114
nguyennguyenit wants to merge 1 commit intodevfrom
fix/cron-job-timeout-env

Conversation

@nguyennguyenit
Copy link
Copy Markdown
Contributor

Summary

  • Add GOCLAW_CRON_JOB_TIMEOUT env var to override cron.job_timeout from config file.
  • Aligns with existing GOCLAW_* env var convention.

Closes #1098.

Test plan

  • go build ./...
  • go test ./internal/config/...
  • Verify GOCLAW_CRON_JOB_TIMEOUT=1h ./goclaw overrides default 10m at runtime.

Closes #1098. Aligns with existing GOCLAW_* env-var convention so deployments
can override cron.job_timeout without modifying config files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(config): add GOCLAW_CRON_JOB_TIMEOUT env var for configurable cron timeout

1 participant