Exemple #1
0
 def rescan():
     if 'rescan' not in config.RUNNING:
         rsc = Rescan(session, 'rescan')
         rsc.serialize = False
         config.slow_worker.add_task(None, 'Rescan', rsc.run)
Exemple #2
0
 def rescan():
     if 'rescan' not in config._running:
         rsc = Rescan(session, 'rescan')
         rsc.serialize = False
         config.slow_worker.add_task(None, 'Rescan', rsc.run)
Exemple #3
0
 def rescan():
     if "rescan" not in config.RUNNING:
         rsc = Rescan(session, "rescan")
         rsc.serialize = False
         config.slow_worker.add_task(None, "Rescan", rsc.run)
Exemple #4
0
 def rescan():
     if 'rescan' not in config._running:
         rsc = Rescan(session, 'rescan')
         rsc.serialize = False
         config.slow_worker.add_task(session, 'Rescan', rsc.run)
Exemple #5
0
 def rescan():
     if "rescan" not in config._running:
         rsc = Rescan(session, "rescan")
         rsc.serialize = False
         config.slow_worker.add_task(session, "Rescan", rsc.run)