1
0
Fork 0
mirror of synced 2024-06-27 18:50:47 +12:00

resetting workers-number

This commit is contained in:
shimon 2022-11-16 11:00:11 +02:00
parent ac70537ece
commit 0d61a7fcf5
2 changed files with 1 additions and 1 deletions

View file

@ -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);

View file

@ -500,6 +500,7 @@ services:
- _APP_USAGE_STATS
- DOCKERHUB_PULL_USERNAME
- DOCKERHUB_PULL_PASSWORD
- _APP_WORKER_PER_CORE
appwrite-worker-mails:
entrypoint: worker-mails