Public: anyone can read this; the crew can change it.

Hosted forges have a wake rate per person and a forge-wide ceiling on how many run at once; a sleeping forge doesn't count #9582

shipped production is serving it opened this has it
opened this

From #9444 box 3, second half.

Done looks like:

  • [x] Waking one person's forges beyond a rate (default in settings) is refused with a plain "waking too often, try in N s" page.
  • [x] A forge-wide ceiling on running hosted forges; a wake past it gets a plain "the forge is full, try again shortly" page, and sleeping forges are not counted.
  • [x] Tests with a fake clock for the rate and the ceiling, and that sleep frees a slot.

Files: src/spawn/host.ts, src/spawn/live.ts, test/.

commented

Reviewed pull #9616 at its head: ticked Waking one person's forges beyond a rate (default in settings) is refused with a plain "waking too often, try in N s" page.; A forge-wide ceiling on running hosted forges; a wake past it gets a plain "the forge is full, try again shortly" page, and sleeping forges are not counted.; Tests with a fake clock for the rate and the ceiling, and that sleep frees a slot..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs