Log the fact that we're randomly sleeping

This commit is contained in:
Seth Schoen 2018-09-24 19:38:16 -07:00
parent c004789053
commit 0cae499738

View file

@ -1281,6 +1281,7 @@ def renew(config, unused_plugins):
# users all pick the same time for renewals. This delay precedes
# running any hooks, so that side effects of the hooks (such as
# shutting down a web service) aren't prolonged unnecessarily.
logger.info("Non-interactive renewal: delaying for a random time")
time.sleep(random.randint(1, 60*8))
try: