resetting workers-number
This commit is contained in:
parent
ac70537ece
commit
0d61a7fcf5
2 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,6 @@ Server::setResource('statsd', function ($register) {
|
|||
|
||||
$pools = $register->get('pools');
|
||||
$connection = $pools->get('queue')->pop()->getResource();
|
||||
|
||||
$workerNumber = swoole_cpu_num() * intval(App::getEnv('_APP_WORKER_PER_CORE', 6));
|
||||
|
||||
Runtime::enableCoroutine(SWOOLE_HOOK_ALL);
|
||||
|
|
|
@ -500,6 +500,7 @@ services:
|
|||
- _APP_USAGE_STATS
|
||||
- DOCKERHUB_PULL_USERNAME
|
||||
- DOCKERHUB_PULL_PASSWORD
|
||||
- _APP_WORKER_PER_CORE
|
||||
|
||||
appwrite-worker-mails:
|
||||
entrypoint: worker-mails
|
||||
|
|
Loading…
Reference in a new issue