We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21bfb96 commit e816d05Copy full SHA for e816d05
src/VerifierServer/Server.php
@@ -180,7 +180,15 @@ private function __initReactHttpServer(?LoopInterface $loop = null): void
180
: Loop::get(),
181
fn($request) => $this->handleReact($request)
182
)->on('error', fn(Throwable $e) => $this->logError($e, true));
183
- $this->socket = new SocketServer("{$this->addr}:{$this->port}", [], $this->loop);
+ $this->socket = new SocketServer(
184
+ "{$this->addr}:{$this->port}",
185
+ [
186
+ 'tcp' => [
187
+ 'so_reuseport' => true
188
+ ]
189
+ ],
190
+ $this->loop
191
+ );
192
}
193
194
/**
0 commit comments