Improve repository usage

This commit is contained in:
Philipp
2021-11-01 13:54:18 +01:00
parent 7c6554451e
commit c2b5eb2838
3 changed files with 8 additions and 12 deletions

View File

@@ -1183,7 +1183,7 @@ class Worker
DBA::connect();
DI::flushLogger();
$process = DI::process()->create(getmypid());
$process = DI::process()->create(getmypid(), basename(__FILE__));
$cycles = 0;
while (!self::IPCJobsExists($process->pid) && (++$cycles < 100)) {