Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit a64ba41

Browse files
authored
fix: increase default socket close timeout (#242)
Increases default inactivity timeout to 5 minutes. closes #239
1 parent 5c44562 commit a64ba41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
node_modules
22
package-lock.json
3-
coverage
3+
.coverage
44
.nyc_output
55
.docs
66
dist

src/constants.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ export const CODE_UNIX = 400
77
export const CLOSE_TIMEOUT = 2000
88

99
// Close the socket if there is no activity after this long in ms
10-
export const SOCKET_TIMEOUT = 30000
10+
export const SOCKET_TIMEOUT = 5 * 60000 // 5 mins

0 commit comments

Comments
 (0)