private boolean checkTimePassed(FollowerInfo info){
  Integer errorCount=errors.get(info.stream);
  if (errorCount == null) {
    errorCount=0;
  }
  if (System.currentTimeMillis() - info.time > REQUEST_DELAY * 1000 + (REQUEST_DELAY * 1000 * (errorCount) / 2)) {
    return true;
  }
  return false;
}

private boolean checkTimePassed ( FollowerInfo info ) { Integer errorCount = errors . get ( info . stream ) ; if ( errorCount == null ) { errorCount = 0 ; } if ( System . currentTimeMillis ( ) - info . time > REQUEST_DELAY * 1000 + ( REQUEST_DELAY * 1000 * ( errorCount ) / 2 ) ) { return true ; } return false ; }
checks if enough time has passed from the last time the data was requested for this followerinfo ( so stream ) . also takes into account errors that occured when requesting or parsing the data , in which case it waits longer in between requests .
