mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
[ops] increase server timeouts
This commit is contained in:
parent
0d3b45b34b
commit
c2462c34a5
1 changed files with 5 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue