Sensu check staggering quetion

I wanted to get some help interpreting the staggering of checks.

I believe the relevant code is here:

https://github.com/sensu/sensu/blob/master/lib/sensu/client.rb#L187-201

In particular what is this ‘stagger = testing? ? 0 : 2’ evaluating to?

Cheers!

I think that is a special provision when under test (like unit tests)

So when under test, it doesn't stagger, it will run asap. (you don't
want your unit tests to have to wait I guess)

···

On Thu, Nov 20, 2014 at 12:48 PM, John B <wilshire461@gmail.com> wrote:

I wanted to get some help interpreting the staggering of checks.

I believe the relevant code is here:

https://github.com/sensu/sensu/blob/master/lib/sensu/client.rb#L187-201

In particular what is this 'stagger = testing? ? 0 : 2' evaluating to?

Cheers!