app/assets/javascripts/uploadcare/vendor/pusher.js
function connectionDelay() {
      var delay = self.connectionWait;
      if (delay === 0) {
        if (self.connectedAt) {
          var t = 1000;
          var connectedFor = new Date().getTime() - self.connectedAt;
          if (connectedFor < t) {
            delay = t - connectedFor;
          }
        }
      }
      return delay;
    }
function connectionDelay() {
      var delay = self.connectionWait;
      if (delay === 0) {
        if (self.connectedAt) {
          var t = 1000;
          var connectedFor = new Date().getTime() - self.connectedAt;
          if (connectedFor < t) {
            delay = t - connectedFor;
          }
        }
      }
      return delay;
    }
function connectionDelay ( ) { var delay = self . connectionWait ; if ( delay === 0 ) { if ( self . connectedAt ) { var t = 1000 ; var connectedFor = new Date ( ) . getTime ( ) - self . connectedAt ; if ( connectedFor < t ) { delay = t - connectedFor ; } } } return delay ; }
Returns the delay before the next connection attempt should be made  This function guards against attempting to connect more frequently than once every second
Returns the delay before the next connection attempt should be made This function guards against attempting to connect more frequently than once every second