mirror of
https://github.com/friendica/friendica
synced 2025-04-26 15:10:11 +00:00
Adds DI::flushLogger() to renew Logger instances
This commit is contained in:
parent
7637ae1dcc
commit
32f0c3fb9c
3 changed files with 13 additions and 2 deletions
|
@ -1182,7 +1182,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::flushLogger();
|
||||
$process = DI::process()->create($pid);
|
||||
|
||||
$cycles = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue