Extend Namespace dispatcher timeout
Some checks failed
Build Rust / Cargo Test (push) Successful in 5m47s
Cache: Publish Nix / Publish Nix Cache (push) Failing after 20s
Build Site / Next.js Build (push) Failing after 4s
Lint Governance / BEP Metadata (push) Successful in 1s

This commit is contained in:
Conrad Kramer 2026-06-07 09:05:05 -07:00
parent 4d7c19e593
commit 4f8d58965b
7 changed files with 6 additions and 1 deletions

View file

@ -1,6 +1,7 @@
listen: ":8090"
dispatcher:
url: "http://localhost:8080"
timeout: "2h"
instances:
- name: burrow

View file

@ -2,6 +2,7 @@ listen: "127.0.0.1:8090"
dispatcher:
url: "http://127.0.0.1:8080"
timeout: "2h"
instances:
- name: burrow

View file

@ -70,7 +70,7 @@ func LoadConfig(path string) (Config, error) {
return Config{}, fmt.Errorf("dispatcher.url is required")
}
if cfg.Dispatcher.Timeout.Duration == 0 {
cfg.Dispatcher.Timeout = config.Duration{Duration: 15 * time.Second}
cfg.Dispatcher.Timeout = config.Duration{Duration: 2 * time.Hour}
}
if len(cfg.Instances) == 0 {
return Config{}, fmt.Errorf("at least one instance must be configured")