-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fixes #32082 by limiting browser jobs to 2. Users can still override this with the global heartbeat.jobs.browser.limit: 42. This also fixes a previously unknown bug, where changing the heartbeat.jobs.*.limit values would cause heartbeat to crash with a panic. This appears to be a bug ingo-ucfg. The workaround this PR adds is moving from map[string]JobLimit to map[string]*JobLimit, which doesn't trigger the same reflection issues. (cherry picked from commit cdd37ca) Co-authored-by: Andrew Cholakian <[email protected]>
- Loading branch information
1 parent
8910f8f
commit 9dffb09
Showing
5 changed files
with
15 additions
and
7 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
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
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
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
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