Increase server timeout to 2 mins
To allow enough time for running unindexed queries in large deployments.
This commit is contained in:
1 parent
307b9f57b0
commit
5c4fc3263b
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -64,7 +64,7 @@ if (!cluster.worker) {
|
|||||||
port: SERVICE_PORT,
|
port: SERVICE_PORT,
|
||||||
host: SERVICE_ADDRESS,
|
host: SERVICE_ADDRESS,
|
||||||
ssl: key && cert ? { key, cert } : null,
|
ssl: key && cert ? { key, cert } : null,
|
||||||
timeout: 30000,
|
timeout: 120000,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Need this for Node < 15
|
// Need this for Node < 15
|
||||||
|
|||||||
+1
-1
@@ -64,7 +64,7 @@ if (!cluster.worker) {
|
|||||||
port: SERVICE_PORT,
|
port: SERVICE_PORT,
|
||||||
host: SERVICE_ADDRESS,
|
host: SERVICE_ADDRESS,
|
||||||
ssl: key && cert ? { key, cert } : null,
|
ssl: key && cert ? { key, cert } : null,
|
||||||
timeout: 30000,
|
timeout: 120000,
|
||||||
};
|
};
|
||||||
|
|
||||||
// Need this for Node < 15
|
// Need this for Node < 15
|
||||||
|
|||||||
Reference in new issue
Block a user