1
0
Fork 0
mirror of synced 2024-06-30 04:00:34 +12:00

Linter fixes

This commit is contained in:
Matej Baco 2022-11-16 11:54:21 +01:00
parent 9e4a65605c
commit 390f407eb5
2 changed files with 4 additions and 4 deletions

View file

@ -96,7 +96,7 @@ $pools = $register->get('pools');
$connection = $pools->get('queue')->pop()->getResource();
$workerNumber = swoole_cpu_num() * intval(App::getEnv('_APP_WORKER_PER_CORE', 6));
if(empty(App::getEnv('QUEUE'))) {
if (empty(App::getEnv('QUEUE'))) {
throw new Exception('Please configure "QUEUE" environemnt variable.');
}