Frequent calls to "contacts.resolveUsername" cause huge FLOOD_WAIT
Closed this issue · 0 comments
misupov commented
We need to cache resolved peers, otherwise we are at the risk of catching 7 hours FLOOD_WAIT. Proposed solution - add an index by username to userCache.