You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Previously, splay could not be enabled or disabled in puppet.conf if the
daemonized agent was already running.
If the daemon was started with splay disabled, then enabling it would cause a
NoMethodError, when trying to call `splay_limit` on a regular Job.
If the daemon was started with splay enabled, then disabling it would have no
effect, since we never recalculated the splay limit.
To handle situations where `splay` may be enabled or disabled in puppet.conf,
always create a SplayJob for the agent_run job and set its `splay_limit` to
either the limit or 0, respectively. Note setting a `splay_limit` to 0 causes
the splay offset to also be set to 0 because `rand(1)` always returns 0.
0 commit comments