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

fix: increase default socket close timeout #242

Merged
merged 1 commit into from
Jan 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
node_modules
package-lock.json
coverage
.coverage
.nyc_output
.docs
dist
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ export const CODE_UNIX = 400
export const CLOSE_TIMEOUT = 2000

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