def change_BACKLOG_FREQUENCY(freq):
 sickbeard.BACKLOG_FREQUENCY = try_int(freq, sickbeard.DEFAULT_BACKLOG_FREQUENCY)
 sickbeard.MIN_BACKLOG_FREQUENCY = sickbeard.get_backlog_cycle_time()
 if (sickbeard.BACKLOG_FREQUENCY < sickbeard.MIN_BACKLOG_FREQUENCY):
  sickbeard.BACKLOG_FREQUENCY = sickbeard.MIN_BACKLOG_FREQUENCY
 sickbeard.backlogSearchScheduler.cycleTime = datetime.timedelta(minutes=sickbeard.BACKLOG_FREQUENCY)

def change_BACKLOG_FREQUENCY ( freq ) : sickbeard . BACKLOG_FREQUENCY = try_int ( freq , sickbeard . DEFAULT_BACKLOG_FREQUENCY ) sickbeard . MIN_BACKLOG_FREQUENCY = sickbeard . get_backlog_cycle_time ( ) if ( sickbeard . BACKLOG_FREQUENCY < sickbeard . MIN_BACKLOG_FREQUENCY ) : sickbeard . BACKLOG_FREQUENCY = sickbeard . MIN_BACKLOG_FREQUENCY sickbeard . backlogSearchScheduler . cycleTime = datetime . timedelta ( minutes = sickbeard . BACKLOG_FREQUENCY )
change frequency of backlog thread .