Add XXX statement in slapformat

parent 19ae91b6
...@@ -1225,6 +1225,8 @@ def main(*args): ...@@ -1225,6 +1225,8 @@ def main(*args):
return dry_callAndRead(argument_list, raise_on_error) return dry_callAndRead(argument_list, raise_on_error)
callAndRead = logging_callAndRead callAndRead = logging_callAndRead
# Add delay between 0 and 1 hour # Add delay between 0 and 1 hour
# XXX should be the contrary: now by default, and cron should have
# --maximal-delay=3600
if not config.now: if not config.now:
duration = float(60*60) * random.random() duration = float(60*60) * random.random()
print("Sleeping for %s seconds. To disable this feature, " \ print("Sleeping for %s seconds. To disable this feature, " \
......
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