You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1cfcbd7
Browse filesBrowse the repository at this point in the historyBrowse files
Stop handing out rate slots past -max-duration (#460)
-max-duration was checked only before a worker started a job, so under
a low -rate every worker parked in the limiter when the deadline passed
still sent its queries afterwards: a 2s budget at -rate 5 ran 43s.
The scan now carries its deadline on the context (WithSendDeadline,
attached after the pre-scan checks, which keep their exemption from
#340). The limiter refuses a slot at or after it with ErrPastDeadline,
which classifies as canceled. ResolveTypes reserves all of a name's
slots at once, so a name is fully sent or not at all, and a job the
deadline kept from its slots is reported as skipped, so it stays
resumable. The lab repro now ends at the budget plus the checks.
Fixes#460
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments