icinga2/lib/checker/checkercomponent.ti
Michael Friedrich e2df11520e
Merge pull request #6970 from Icinga/bugfix/perfdata-gaps
Improve reload handling for features (metric & queue flush, activation priority)
2019-02-26 15:38:15 +01:00

28 lines
447 B
Plaintext

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#include "base/configobject.hpp"
library checker;
namespace icinga
{
class CheckerComponent : ConfigObject
{
activation_priority 300;
[config, no_storage] int concurrent_checks {
get {{{
return Application::GetMaxConcurrentChecks();
}}}
set {{{
Application::SetMaxConcurrentChecks(value);
}}}
default {{{
return Application::GetDefaultMaxConcurrentChecks();
}}}
};
};
}