]> git.llucax.com Git - z.facultad/75.52/sercom.git/blobdiff - testtester.py
Bugfix: fallaba diff por problemas de \n.
[z.facultad/75.52/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()