Skip to content
This repository was archived by the owner on Mar 24, 2025. It is now read-only.

Commit f3a50c7

Browse files
authored
Merge pull request #245 from kwdwkiss/clyfix
fix HttpServiceProvider::configureSwooleServer
2 parents 0f716e2 + 66d64db commit f3a50c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HttpServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ protected function configureSwooleServer()
150150

151151
// only enable task worker in websocket mode and for queue driver
152152
if ($config->get('queue.default') !== 'swoole' && ! $this->isWebsocket) {
153-
unset($config['task_worker_num']);
153+
unset($options['task_worker_num']);
154154
}
155155

156156
static::$server->set($options);

0 commit comments

Comments
 (0)