mirror of https://github.com/Icinga/icinga2.git
Allow to override MaxConcurrentChecks constant
This commit is contained in:
parent
fbf4546357
commit
96c0de9bea
|
@ -1189,7 +1189,7 @@ int Application::GetDefaultRLimitStack()
|
||||||
*/
|
*/
|
||||||
void Application::SetMaxConcurrentChecks(int maxChecks)
|
void Application::SetMaxConcurrentChecks(int maxChecks)
|
||||||
{
|
{
|
||||||
ScriptGlobal::Set("MaxConcurrentChecks", maxChecks);
|
ScriptGlobal::Set("MaxConcurrentChecks", maxChecks, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue