Remove CWMP_KEEP_ALIVE_TIMEOUT
This turned out not to be necessary. Will use SESSION_TIMEOUT for connection timeout.
This commit is contained in:
1 parent
b5efe6c578
commit
6f0e1d66ce
4 files changed
+3
-16
No files matched your search
@@ -48,7 +48,6 @@ const options = {
|
||||
CWMP_SSL_KEY: { type: "string", default: "" },
|
||||
CWMP_LOG_FILE: { type: "path", default: "" },
|
||||
CWMP_ACCESS_LOG_FILE: { type: "path", default: "" },
|
||||
CWMP_KEEP_ALIVE_TIMEOUT: { type: "int", default: 0 },
|
||||
|
||||
NBI_WORKER_PROCESSES: { type: "int", default: 0 },
|
||||
NBI_PORT: { type: "int", default: 7557 },
|
||||
|
||||
+2
-2
@@ -56,7 +56,7 @@ export function start(
|
||||
ssl,
|
||||
_listener,
|
||||
onConnection?,
|
||||
keepAliveTimeout: number = 0
|
||||
keepAliveTimeout: number = -1
|
||||
): void {
|
||||
listener = _listener;
|
||||
|
||||
@@ -77,7 +77,7 @@ export function start(
|
||||
if (onConnection != null) server.on("connection", onConnection);
|
||||
}
|
||||
|
||||
if (keepAliveTimeout) server.keepAliveTimeout = keepAliveTimeout;
|
||||
if (keepAliveTimeout >= 0) server.keepAliveTimeout = keepAliveTimeout;
|
||||
server.listen(port, networkInterface);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user