fix(queue): wait for actual worker drain before disconnecting (CL22)
This commit is contained in:
parent
ec582bd5e8
commit
1aa35d2db3
7 changed files with 177 additions and 29 deletions
|
|
@ -22,3 +22,7 @@ No new service/framework, financial simulator, real trading activation, external
|
|||
## Accepted verification
|
||||
|
||||
Queue library tsc build passed; independent root queue-lifecycle and cache-ownership suites passed (see /tmp/stock-bot-cl22-root.log). Scoped lint/format passed. Pending payload ownership, drain behavior, and connection cleanup covered without service mutation.
|
||||
|
||||
## Accepted verification
|
||||
|
||||
Independent review reproduced premature worker drain at2s. Follow-up removes false-success2s/5s queue deadlines; actual Queue.close is idempotent and retains workers/transports until completion. Deferred-worker regression crosses both old deadlines; real Redis DB15 smoke preserves queued payloads through observer/producer shutdown and subsequent consumption. Root queue build and focused tests passed; service-level exit deadline remains authoritative.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue