cf1ec7b1c6fc37914a0a48d8776a878d2b58a146
Final cross-cutting review finding: shutCtx was shared between server.Shutdown and dispatcher.Shutdown, with jobs.Stop's wall-clock time burning the budget in between. Under load, dispatcher.Shutdown could receive an already-dead ctx and skip draining in-flight async notify dispatches (including webhook enqueues). Mirror the errCh branch by creating a fresh 10s drainCtx for dispatcher.Shutdown.
Description
No description provided
Languages
Go
86.4%
Vue
9.1%
TypeScript
4.3%