add termination cooldown for slot scale-down
All checks were successful
buildbot/nix-eval Build done.
buildbot/nix-build Build done.
buildbot/nix-effects Build done.

This commit is contained in:
Abel Luck 2026-02-27 18:37:58 +01:00
parent e1dbd5c119
commit 44bc99ab85
7 changed files with 72 additions and 1 deletions

View file

@ -118,6 +118,7 @@ def test_effective_config_returns_capacity_and_scheduler() -> None:
body = response.json()
assert body["capacity"]["max_slots"] == 8
assert body["capacity"]["idle_scale_down_seconds"] == 900
assert body["capacity"]["termination_cooldown_seconds"] == 180
assert body["scheduler"]["tick_seconds"] == 3.0
assert body["scheduler"]["reconcile_seconds"] == 15.0