mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Make default keepalive time fit in a 32-bit integer
This commit is contained in:
parent
a750587bb0
commit
8bbd4752d9
@ -24,7 +24,7 @@ const BACKOFF_MULTIPLIER = 1.6;
|
||||
const MAX_BACKOFF_MS = 120000;
|
||||
const BACKOFF_JITTER = 0.2;
|
||||
|
||||
const KEEPALIVE_TIME_MS = Number.MAX_VALUE;
|
||||
const KEEPALIVE_TIME_MS = 1 << 31;
|
||||
const KEEPALIVE_TIMEOUT_MS = 20000;
|
||||
|
||||
const {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user