Merge pull request #6642 from Icinga/bugfix/concurrent-checks-constant

Allow to override MaxConcurrentChecks constant
This commit is contained in:
Michael Friedrich 2018-09-28 09:34:53 +02:00 committed by GitHub
commit 7acf3689a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1189,7 +1189,7 @@ int Application::GetDefaultRLimitStack()
*/
void Application::SetMaxConcurrentChecks(int maxChecks)
{
ScriptGlobal::Set("MaxConcurrentChecks", maxChecks);
ScriptGlobal::Set("MaxConcurrentChecks", maxChecks, true);
}
/**