-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mapic: Fix stats collection deadlock (#263)
* mapic/stats: Fix deadlock on limited errgroup Realized that we can't really use SetLimit with recursive Go calls, as we might get to a state where all routines are blocked waiting for another routine to finish. Fixed it by removing that recursion and parallelizing only the SetActive+Publish calls. * mapic/stats: Stop inheriting from errgroup * mapic: Make variable redefinition clearer I hate that go bug
- Loading branch information
Showing
1 changed file
with
41 additions
and
45 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