Fix getUser binding loops & coro race conditions

This commit is contained in:
miruka
2019-07-07 01:37:13 -04:00
parent 683ee3e1cf
commit be152c3acf
7 changed files with 30 additions and 27 deletions

View File

@@ -24,6 +24,8 @@ class Backend:
self.past_tokens: Dict[str, str] = {} # {room_id: token}
self.fully_loaded_rooms: Set[str] = set() # {room_id}
self.pending_profile_requests: Set[str] = set()
def __repr__(self) -> str:
return f"{type(self).__name__}(clients={self.clients!r})"