CC-2847: Airtime doesn't resume playing audio after upgrade
This commit is contained in:
parent
3601f37904
commit
b94004d7f4
|
@ -355,10 +355,6 @@ class PypoFetch(Thread):
|
|||
def main(self):
|
||||
logger = logging.getLogger('fetch')
|
||||
|
||||
while not self.init_rabbit_mq():
|
||||
logger.error("Error connecting to RabbitMQ Server. Trying again in few seconds")
|
||||
time.sleep(5)
|
||||
|
||||
try: os.mkdir(self.cache_dir)
|
||||
except Exception, e: pass
|
||||
|
||||
|
@ -370,6 +366,11 @@ class PypoFetch(Thread):
|
|||
self.process_schedule(schedule_data, "scheduler", True)
|
||||
logger.info("Bootstrap complete: got initial copy of the schedule")
|
||||
|
||||
|
||||
while not self.init_rabbit_mq():
|
||||
logger.error("Error connecting to RabbitMQ Server. Trying again in few seconds")
|
||||
time.sleep(5)
|
||||
|
||||
loops = 1
|
||||
while True:
|
||||
logger.info("Loop #%s", loops)
|
||||
|
|
Loading…
Reference in New Issue