mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Set the new pid
This commit is contained in:
parent
2f8e873cc7
commit
6ef0f9646f
2 changed files with 12 additions and 0 deletions
|
@ -1234,6 +1234,7 @@ class Worker
|
|||
// We now are in the new worker
|
||||
DBA::connect();
|
||||
/// @todo Reinitialize the logger to set a new process_id and uid
|
||||
DI::process()->setPid($pid);
|
||||
|
||||
$cycles = 0;
|
||||
while (!self::IPCJobsExists($pid) && (++$cycles < 100)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue