Fix earlier logging patch
`@cached` doesn't work on decorated functions, because it uses inspection on the target to calculate the number of arguments.pull/3476/head
parent
80786d5caf
commit
ce9d0b1d0c
|
@ -67,8 +67,7 @@ class RoomMemberWorkerStore(EventsWorkerStore):
|
|||
hosts = frozenset(get_domain_from_id(user_id) for user_id in user_ids)
|
||||
defer.returnValue(hosts)
|
||||
|
||||
@cached(max_entries=100000, iterable=True)
|
||||
@defer.inlineCallbacks
|
||||
@cachedInlineCallbacks(max_entries=100000, iterable=True)
|
||||
def get_users_in_room(self, room_id):
|
||||
def f(txn):
|
||||
sql = (
|
||||
|
|
Loading…
Reference in New Issue