Skip to content
Commit 00ec5fc1 authored by Vincent Petry's avatar Vincent Petry
Browse files

Added max heartbeat interval to prevent integer overflow

When using big session timeout values, the interval value might overflow
and cause the setInterval() call to ping the server in a loop without
any delay.

This fix adds a maximum ping interval of 24 hours.
parent b2fae8a8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment