Skip to content

feat(config): use human-readable duration format for timeouts#126

Open
Savid wants to merge 1 commit into
masterfrom
feat/human-readable-duration-configs
Open

feat(config): use human-readable duration format for timeouts#126
Savid wants to merge 1 commit into
masterfrom
feat/human-readable-duration-configs

Conversation

@Savid

@Savid Savid commented Jan 6, 2026

Copy link
Copy Markdown
Member

Convert integer-based duration configs to time.Duration type to support human-readable format (e.g., 30s, 5m, 1h) matching existing ClickHouse timeout patterns.

Changes:

  • scheduler: ShutdownTimeout (10s), TaskTimeout (30m)
  • worker: ShutdownTimeout (30s)

BREAKING CHANGE: Config files using integer values for these fields must be updated to use duration strings (e.g., 30 -> 30s, 1800 -> 30m)

Convert integer-based duration configs to time.Duration type to support
human-readable format (e.g., 30s, 5m, 1h) matching existing ClickHouse
timeout patterns.

Changes:
- scheduler: ShutdownTimeout (10s), TaskTimeout (30m)
- worker: ShutdownTimeout (30s)

BREAKING CHANGE: Config files using integer values for these fields
must be updated to use duration strings (e.g., 30 -> 30s, 1800 -> 30m)
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.

1 participant