From c2462c34a58374f7c064802461a6bfd712cf91a8 Mon Sep 17 00:00:00 2001 From: mononaut Date: Sat, 4 Jul 2026 09:45:49 +0000 Subject: [PATCH] [ops] increase server timeouts --- backend/src/index.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/src/index.ts b/backend/src/index.ts index fe56486f1..e857a377b 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -230,6 +230,8 @@ class Server { logger.notice(`Mempool Server is running on port ${config.MEMPOOL.HTTP_PORT}`); } }); + this.server.keepAliveTimeout = 70 * 1000; + this.server.headersTimeout = 71 * 1000; if (this.serverUnixSocket) { this.serverUnixSocket.listen(config.MEMPOOL.UNIX_SOCKET_PATH, () => { @@ -239,6 +241,9 @@ class Server { logger.notice(`Mempool Server is listening on ${config.MEMPOOL.UNIX_SOCKET_PATH}`); } }); + + this.serverUnixSocket.keepAliveTimeout = 70 * 1000; + this.serverUnixSocket.headersTimeout = 71 * 1000; } void poolsUpdater.$startService();