Skip to content

Commit 2db2c3c

Browse files
author
Luke Embrey
committed
Configure only 1 task worker to be started
Currently only used to send emails.
1 parent 5f130d1 commit 2db2c3c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Http/Server.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public function boot()
8383
echo "Setting up the HTTP server configuration\n";
8484
$this->server->set([
8585
'worker_num' => swoole_cpu_num(),
86+
'task_worker_num' => 1,
8687
'package_max_length' => config("server.maxUploadSize"),
8788
'document_root' => config("server.publicRoot"),
8889
'enable_static_handler' => true,

0 commit comments

Comments
 (0)