users addition
This commit is contained in:
parent
89f0146c45
commit
5366d90ff2
2
.env
2
.env
|
@ -1,4 +1,4 @@
|
|||
_APP_ENV=production
|
||||
_APP_ENV=development
|
||||
_APP_LOCALE=en
|
||||
_APP_WORKER_PER_CORE=2
|
||||
_APP_CONSOLE_WHITELIST_ROOT=disabled
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue