]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Wait between calls to journal
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 16 May 2018 20:20:08 +0000 (22:20 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Wed, 16 May 2018 20:20:08 +0000 (22:20 +0200)
modules/role/templates/cryptoportfolio/api_logger.py.erb

index 9fe564e38ea0d62562508681a368ef7d47165621..a758a2edbd3a9a4f28903e0647886d42d82bb5d4 100644 (file)
@@ -105,4 +105,5 @@ while True:
     lines = list(j)
     if len(lines) > 0:
         send_to_discord(lines)
+    time.sleep(5)
     j.wait()