mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-13 21:13:26 +00:00
Fix CS
This commit is contained in:
@@ -593,14 +593,14 @@ class task_Scheduler
|
||||
break;
|
||||
}
|
||||
}
|
||||
if(function_exists('pcntl_sigprocmask')) {
|
||||
if (function_exists('pcntl_sigprocmask')) {
|
||||
@pcntl_sigprocmask(SIG_BLOCK, array(SIGCHLD));
|
||||
}
|
||||
sleep(1);
|
||||
for ($i = 0; $this->schedstatus=='started' && $i < $sleeptime; $i++) {
|
||||
sleep(1);
|
||||
}
|
||||
if(function_exists('pcntl_sigprocmask')) {
|
||||
if (function_exists('pcntl_sigprocmask')) {
|
||||
@pcntl_sigprocmask(SIG_UNBLOCK, array(SIGCHLD));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user