Make default keepalive time fit in a 32-bit integer

This commit is contained in:
murgatroid99 2018-08-01 11:20:42 -07:00
parent a750587bb0
commit 8bbd4752d9

View File

@ -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 {