create-msg-update

This commit is contained in:
2022-11-16 19:53:36 +03:00
parent ec7f82c72f
commit 6d9ac5f272
3 changed files with 11 additions and 10 deletions

View File

@@ -40,7 +40,7 @@ class ViewStat:
lock = asyncio.Lock()
by_slugs = {}
by_topics = {}
period = 30 * 60 # 30 minutes
period = 5 * 60 # 5 minutes
transport = AIOHTTPTransport(url="https://ackee.discours.io/")
client = Client(transport=transport, fetch_schema_from_transport=True)