mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-23 17:57:54 +02:00
WIP
This commit is contained in:
parent
c53b9ae5ab
commit
54defc8b27
@ -508,7 +508,7 @@ int Spawner::ProcessWaitPID(pid_t pid, int *status)
|
||||
void Process::InitializeSpawnHelper()
|
||||
{
|
||||
if (!l_ProcessControl.Spawners) {
|
||||
auto len (std::max(1, Configuration::Concurrency));
|
||||
auto len (std::max(1, Configuration::Concurrency) * 2u);
|
||||
|
||||
l_ProcessControl.Spawners = new Spawner[len];
|
||||
l_ProcessControl.Len = len;
|
||||
|
Loading…
x
Reference in New Issue
Block a user