You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Chat information in the updates/ route is requested everytime the page GET or POST, which is not a blocking call (uses aiohttp) but it slows down because it's a telegram api request subject to rate limit, also the routine is an unecessary bloat of list comprehensions with tests.
Proposed solution is having a file in the form of instance/zodb/123botid.456chatid.meta.fs with versioned information which can be manually updated via a route.
Also this is required because there are private groups where some of the bots have been already kicked and therefore none of them can request information. It would be desirable that such a route bruteforces on all available bots from information on chats for this particular reason.
All routines which request information about chats should use latest valid information stored on zodb filesystem/database.
The text was updated successfully, but these errors were encountered:
Chat information in the updates/ route is requested everytime the page GET or POST, which is not a blocking call (uses aiohttp) but it slows down because it's a telegram api request subject to rate limit, also the routine is an unecessary bloat of list comprehensions with tests.
Proposed solution is having a file in the form of instance/zodb/123botid.456chatid.meta.fs with versioned information which can be manually updated via a route.
Also this is required because there are private groups where some of the bots have been already kicked and therefore none of them can request information. It would be desirable that such a route bruteforces on all available bots from information on chats for this particular reason.
All routines which request information about chats should use latest valid information stored on zodb filesystem/database.
The text was updated successfully, but these errors were encountered: