This repository has been archived by the owner on May 9, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reverting/fixing off-by-one error. Adding reconnect_ivl to mqexec
The off-by-one error fixed in the last commit is better fixed by setting the initial size of the hash table appropriately. This also adds the reconnect_ivl (reconnect_interval) option to mqexec, and sets the default reconnect interval to 1 second instead of 100 ms. This prevents connection storms when keys aren't yet added to nagios, but clients are trying to connect.
- Loading branch information
Showing
2 changed files
with
10 additions
and
11 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