From: Ismaƫl Bouya Date: Wed, 16 May 2018 20:20:08 +0000 (+0200) Subject: Wait between calls to journal X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FPuppet.git;a=commitdiff_plain;h=b9fb13d2aa2e7c58e7f766f468fb64d496c28fa9 Wait between calls to journal --- diff --git a/modules/role/templates/cryptoportfolio/api_logger.py.erb b/modules/role/templates/cryptoportfolio/api_logger.py.erb index 9fe564e..a758a2e 100644 --- a/modules/role/templates/cryptoportfolio/api_logger.py.erb +++ b/modules/role/templates/cryptoportfolio/api_logger.py.erb @@ -105,4 +105,5 @@ while True: lines = list(j) if len(lines) > 0: send_to_discord(lines) + time.sleep(5) j.wait()