Commit 64253339 authored by Rafael Monnerat's avatar Rafael Monnerat

Wait longer between the runs.

parent a72e960e
......@@ -38,6 +38,7 @@ class ERP5Updater(object):
header_dict = {}
sleeping_time = 300
short_sleeping_time = 60
def __init__(self, user, password, host,
site_id, mysql_url, memcached_address,
......@@ -288,7 +289,7 @@ class ERP5Updater(object):
def run(self):
""" Keep running until kill"""
while 1:
time.sleep(30)
time.sleep(self.short_sleeping_time)
if not self.updateERP5Site():
self.loadSystemSignatureDict()
if self._hasFailureActivity():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment