diff --git a/checker.py b/checker.py index a24430a..badfa43 100644 --- a/checker.py +++ b/checker.py @@ -139,7 +139,9 @@ if __name__ == "__main__": ch.setFormatter(formatter) logger.addHandler(ch) - time.sleep(random.randint(1, 600)) + random_sleep = random.randint(1, 600) + logger.info(f"Sleeping for {random_sleep} seconds") + time.sleep(random_sleep) GRIST_SERVER = "###GRIST_SERVER###" GRIST_DOC_ID = "###GRIST_DOC_ID###"