Merge pull request #6619 from mempool/mononaut/server-timeout

[ops] increase server timeouts
This commit is contained in:
wiz 2026-07-04 18:46:53 +09:00 committed by GitHub
commit 3da515d4ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();