Decouple generation job polling from key-balance polling #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
apps/worker/src/main.tsusesKEY_BALANCE_POLL_SECONDSas the main worker loop interval for generation processing.Why this matters
With the current default (
180s), newly queued generation requests can wait minutes before the worker sees them, which breaks the intended near-synchronous polling UX.Acceptance criteria