fc-common: add unsupported_timeout for queue runner
Hydra maxUnsupportedTime compatibility. DUration is optional, defaults to `None` and is configurable through `fc.toml` under `queue_runner.unsupported_timeout` key. E.g., "1h". Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I299722e2a3865c873e212a7615b97b806a6a6964
This commit is contained in:
parent
609ac53c3f
commit
b43a11756a
4 changed files with 95 additions and 8 deletions
17
Cargo.lock
generated
17
Cargo.lock
generated
|
|
@ -812,6 +812,7 @@ dependencies = [
|
|||
"config",
|
||||
"git2",
|
||||
"hex",
|
||||
"humantime-serde",
|
||||
"lettre",
|
||||
"libc",
|
||||
"regex",
|
||||
|
|
@ -1288,6 +1289,22 @@ version = "1.0.3"
|
|||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9"
|
||||
|
||||
[[package]]
|
||||
name = "humantime"
|
||||
version = "2.3.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "135b12329e5e3ce057a9f972339ea52bc954fe1e9358ef27f95e89716fbc5424"
|
||||
|
||||
[[package]]
|
||||
name = "humantime-serde"
|
||||
version = "1.1.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "57a3db5ea5923d99402c94e9feb261dc5ee9b4efa158b0315f788cf549cc200c"
|
||||
dependencies = [
|
||||
"humantime",
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hyper"
|
||||
version = "1.8.1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue