5 min interval for error webhook logging > 10 seconds
This commit is contained in:
parent
bf2bdcd7a4
commit
ab898f1207
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ async def report_errors_to_slack_webhook(app):
|
||||||
try:
|
try:
|
||||||
while True:
|
while True:
|
||||||
await asyncio.shield(post_errors_to_slack(client, app))
|
await asyncio.shield(post_errors_to_slack(client, app))
|
||||||
await asyncio.sleep(300)
|
await asyncio.sleep(10)
|
||||||
|
|
||||||
except asyncio.CancelledError:
|
except asyncio.CancelledError:
|
||||||
await asyncio.shield(post_errors_to_slack(client, app))
|
await asyncio.shield(post_errors_to_slack(client, app))
|
||||||
|
|
Loading…
Reference in a new issue