From 6942af8c29e2d1f3ec2b27c672b291d8d65a944a Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 20 Jun 2018 23:40:23 +0200 Subject: [PATCH] add 30s delay at the end of auth --- authenticator.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/authenticator.py b/authenticator.py index 5cc9d5c..ba87c65 100755 --- a/authenticator.py +++ b/authenticator.py @@ -13,6 +13,8 @@ import logging import tldextract import codecs +from time import sleep + def setup_logger(): # seup logging @@ -210,6 +212,9 @@ def main(): z_commit = dns_commit(config, logger) logger.info("Set TXT record successful") + logger.info("Sleep to propagate over changes to DNS") + sleep(30) + if __name__ == "__main__": main()