Commit 597a464
authored
Workqueue Batching improvements (#63)
Using StopAndWait would cause a very long-running task in the queue to block any additional work being processed (can happen on long running k8s object deletions). This will allow us to control pulling work off the queue w/o overwhelming the pool while still not blocking.1 parent c3abbe7 commit 597a464
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | | - | |
39 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
| |||
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | | - | |
51 | 53 | | |
52 | 54 | | |
53 | 55 | | |
| |||
0 commit comments