From 5c4fc3263bd82fdb0de33e6aec5fbab5d5158ad3 Mon Sep 17 00:00:00 2001 From: Zaid Humaimidi Date: Thu, 18 Apr 2024 12:16:44 -0700 Subject: [PATCH] Increase server timeout to 2 mins To allow enough time for running unindexed queries in large deployments. --- bin/genieacs-nbi.ts | 2 +- bin/genieacs-ui.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/genieacs-nbi.ts b/bin/genieacs-nbi.ts index 14e9bc9..cc76428 100755 --- a/bin/genieacs-nbi.ts +++ b/bin/genieacs-nbi.ts @@ -64,7 +64,7 @@ if (!cluster.worker) { port: SERVICE_PORT, host: SERVICE_ADDRESS, ssl: key && cert ? { key, cert } : null, - timeout: 30000, + timeout: 120000, }; // Need this for Node < 15 diff --git a/bin/genieacs-ui.ts b/bin/genieacs-ui.ts index f45d37b..cdd91e7 100755 --- a/bin/genieacs-ui.ts +++ b/bin/genieacs-ui.ts @@ -64,7 +64,7 @@ if (!cluster.worker) { port: SERVICE_PORT, host: SERVICE_ADDRESS, ssl: key && cert ? { key, cert } : null, - timeout: 30000, + timeout: 120000, }; // Need this for Node < 15