From ab898f12070988d2bb30eb2c3afbc703d13169ac Mon Sep 17 00:00:00 2001 From: Oleg Silkin Date: Fri, 6 Sep 2019 20:38:01 -0400 Subject: [PATCH] 5 min interval for error webhook logging > 10 seconds --- src/server/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/app.py b/src/server/app.py index afc1723..87d20db 100644 --- a/src/server/app.py +++ b/src/server/app.py @@ -50,7 +50,7 @@ async def report_errors_to_slack_webhook(app): try: while True: await asyncio.shield(post_errors_to_slack(client, app)) - await asyncio.sleep(300) + await asyncio.sleep(10) except asyncio.CancelledError: await asyncio.shield(post_errors_to_slack(client, app))