-
Notifications
You must be signed in to change notification settings - Fork 544
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Procect forwarder watchOverrides from race condition
Reworks update logic in watchOverrides loop. The race condition comes from the unpredictable behaviour of ranging over a map. This could cause that a newly created queueManagers was added to the ranged map, and be evaluated for update. Since the queueManager was _just_ created, it wouldn't have enough running workers, which would trigger another update.
- Loading branch information
Showing
1 changed file
with
31 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters