]> git.llucax.com Git - software/sercom.git/blobdiff - testtester.py
Agrego link a SHOW desde la lista de tareas
[software/sercom.git] / testtester.py
index e549d037e625d9437d4aee05f44c132a98514589..96356c806bc903fda7567cb8a7e0df82fc60bf53 100644 (file)
@@ -33,11 +33,12 @@ class Queue(object):
                 return e.id
             except IndexError:
                 log.debug(_(u'No hay entregas pendientes'))
                 return e.id
             except IndexError:
                 log.debug(_(u'No hay entregas pendientes'))
-                time.sleep(5) # TODO config?
+                time.sleep(10) # TODO config?
             except Exception, e:
                 if isinstance(e, SystemExit):
                     raise
                 log.exception('Queue: ')
             except Exception, e:
                 if isinstance(e, SystemExit):
                     raise
                 log.exception('Queue: ')
+                time.sleep(10) # TODO config?
         return None
 
 q = Queue()
         return None
 
 q = Queue()