Commit 8d3200f
Only wait for delayed queue if there is no work
The previous solution for processing the work queue sleeps after
processing every work item, which isn't ideal for responsive tests, and
it was resulting in flakes.
Instead, process work as fast as possible, and only sleep when the queue
is empty.
Note: analysis of the failing logs and the possible fix was assisted by
an "AI" agent.
Signed-off-by: Nolan Brubaker <nolan@nbrubaker.com>
Co-Authored-By: Claude Code <noreply@anthropic.com>1 parent 742c08c commit 8d3200f
1 file changed
Lines changed: 19 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
246 | 249 | | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
253 | 266 | | |
254 | 267 | | |
255 | 268 | | |
| |||
0 commit comments