owncloud/core — pull request #9016 by PVince81 (2014-06-12 16:29:42+00:00)
Title: 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.

Please review @schiesbn @icewind1991 @MorrisJobke

@ser72 please test this patch