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";
1313// socketio and use those to manage things. This ping
1414// is entirely a "just in case" backup if some event
1515// were missed (e.g., a kill -9'd process...)
16- export const PING_PONG_INTERVAL = 60000 ;
16+ export const PING_PONG_INTERVAL = 90000 ;
1717
1818// We queue up unsent writes, but only up to a point (to not have a huge memory issue).
1919// Any write beyond this size result in an exception.
@@ -24,8 +24,8 @@ export const PING_PONG_INTERVAL = 60000;
2424export const DEFAULT_MAX_QUEUE_SIZE = 1000 ;
2525
2626export 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 ;
2929
3030export function setDefaultSocketTimeouts ( {
3131 command = DEFAULT_COMMAND_TIMEOUT ,
You can’t perform that action at this time.
0 commit comments