fix(server-runtime): disable socket port reuse (#2393)
This commit is contained in:
@@ -4,7 +4,6 @@ import type { AppOptions } from '..'
|
||||
|
||||
import { isIP } from 'node:net'
|
||||
import { networkInterfaces } from 'node:os'
|
||||
import { platform } from 'node:process'
|
||||
|
||||
import { useLogg } from '@guiiai/logg'
|
||||
import { merge } from '@moeru/std'
|
||||
@@ -166,7 +165,7 @@ export function createServer(opts?: ServerOptions): Server {
|
||||
port,
|
||||
hostname,
|
||||
tls: options?.tlsConfig || undefined,
|
||||
reusePort: platform !== 'win32',
|
||||
reusePort: false,
|
||||
silent: true,
|
||||
manual: true,
|
||||
gracefulShutdown: {
|
||||
|
||||
Reference in New Issue
Block a user