-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(PUP-12061) Log when periodic agent runs
Provide more context when the agent runs so it's clearer whether splay is enabled and what the limits are. We don't want to do this for the reparse and signal jobs, because they run every 15 and 5 seconds, respectively. The info message is of the form: Running agent every 20 seconds with splay 5 of 10 seconds This message is logged whenever the agent is running periodically, not for onetime runs. Whether we're daemonized doesn't affect the behavior. This is because we always call Puppet::Daemon#start when running periodically to run the event loop.
- Loading branch information
1 parent
9b1d464
commit ccfcec2
Showing
3 changed files
with
12 additions
and
2 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