File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/packages/conat/socket Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export type Role = "client" | "server";
13
13
// socketio and use those to manage things. This ping
14
14
// is entirely a "just in case" backup if some event
15
15
// were missed (e.g., a kill -9'd process...)
16
- export const PING_PONG_INTERVAL = 60000 ;
16
+ export const PING_PONG_INTERVAL = 90000 ;
17
17
18
18
// We queue up unsent writes, but only up to a point (to not have a huge memory issue).
19
19
// Any write beyond this size result in an exception.
@@ -24,8 +24,8 @@ export const PING_PONG_INTERVAL = 60000;
24
24
export const DEFAULT_MAX_QUEUE_SIZE = 1000 ;
25
25
26
26
export let DEFAULT_COMMAND_TIMEOUT = 10_000 ;
27
- export let DEFAULT_KEEP_ALIVE = 90_000 ;
28
- export let DEFAULT_KEEP_ALIVE_TIMEOUT = 15_000 ;
27
+ export let DEFAULT_KEEP_ALIVE = 25_000 ;
28
+ export let DEFAULT_KEEP_ALIVE_TIMEOUT = 10_000 ;
29
29
30
30
export function setDefaultSocketTimeouts ( {
31
31
command = DEFAULT_COMMAND_TIMEOUT ,
You can’t perform that action at this time.
0 commit comments