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
+1
-3
@@ -81,8 +81,6 @@ if (!cluster.worker) {
|
||||
cert: config.get("CWMP_SSL_CERT")
|
||||
};
|
||||
|
||||
const keepAliveTimeout = config.get("CWMP_KEEP_ALIVE_TIMEOUT") as number;
|
||||
|
||||
process.on("uncaughtException", err => {
|
||||
if ((err as NodeJS.ErrnoException).code === "ERR_IPC_DISCONNECTED") return;
|
||||
logger.error({
|
||||
@@ -118,7 +116,7 @@ if (!cluster.worker) {
|
||||
ssl,
|
||||
cwmp.listener,
|
||||
cwmp.onConnection,
|
||||
keepAliveTimeout
|
||||
0
|
||||
);
|
||||
})
|
||||
.catch(err => {
|
||||
|
||||
Reference in new issue
Block a user