1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00

users addition

This commit is contained in:
shimon 2023-07-10 11:07:54 +03:00
parent 89f0146c45
commit 5366d90ff2
2 changed files with 8 additions and 1 deletions

2
.env
View file

@ -1,4 +1,4 @@
_APP_ENV=production
_APP_ENV=development
_APP_LOCALE=en
_APP_WORKER_PER_CORE=2
_APP_CONSOLE_WHITELIST_ROOT=disabled

View file

@ -274,5 +274,12 @@ $worker
Console::error('[Error] Line: ' . $error->getLine());
});
// We need to add `getWorkerStartHook` in `utopia-php/queue` so that we can check if
// we have already added workerStart hook, if not we can add this default worker start hook here
// $worker->workerStart()
// ->action(function () use ($workerName) {
// Console::info("Worker $workerName started");
// });
$worker->start();