lib/RedundantSignallingSocket.js
function scheduleServerConnectivityChecks() {
        if (connectivityIntervalId === null) {
            connectivityIntervalId = asyncExecService.setInterval(function () {
                updateRegistrations();
                connectToServers();
            }, INTERVAL_BETWEEN_SERVER_CONNECTIVITY_CHECKS);
        }
        else {
            throw new Error("BUG ::: Attempt was made to start connectivity checks twice");
        }
    }
function scheduleServerConnectivityChecks() {
        if (connectivityIntervalId === null) {
            connectivityIntervalId = asyncExecService.setInterval(function () {
                updateRegistrations();
                connectToServers();
            }, INTERVAL_BETWEEN_SERVER_CONNECTIVITY_CHECKS);
        }
        else {
            throw new Error("BUG ::: Attempt was made to start connectivity checks twice");
        }
    }
function scheduleServerConnectivityChecks ( ) { if ( connectivityIntervalId === null ) { connectivityIntervalId = asyncExecService . setInterval ( function ( ) { updateRegistrations ( ) ; connectToServers ( ) ; } , INTERVAL_BETWEEN_SERVER_CONNECTIVITY_CHECKS ) ; } else { throw new Error ( "BUG ::: Attempt was made to start connectivity checks twice" ) ; } }
Schedule periodic server connectivity checks
Schedule periodic server connectivity checks