mirror of https://github.com/Icinga/icinga2.git
28 lines
447 B
Plaintext
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();
|
|
}}}
|
|
};
|
|
};
|
|
|
|
}
|