Skip to content
Snippets Groups Projects
Commit 78d83778 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

SL-16400: Make WorkQueue::runFor() and runUntil() stop when done.

runFor(interval) and runUntil(timestamp) are intended, and documented, to run
*no longer than* the specified time. Instead, the initial implementation
always waited the full specified time, hoping for work to arrive. Fix that:
once we clear work that's already pending, return right away.
parent 877a02db
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment