An app cannot stall the forge (#12265)

The forge serves everyone on one thread, so an app that polls it on a timer must not slow people down. Nothing an app asks is refused; it only goes last, and the forge says who asks the most.

The reading is one in-process map (61 minute buckets, 64 tokens each); it is gone on restart.

Tests: test/app-turn.test.ts (the turn on a fake clock, the 304, the gate on /system), test/tui-system.test.ts.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs