mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-09 23:42:28 -04:00
Change Cache to not use *args in its interface
This commit is contained in:
parent
fe994e728f
commit
b8e386db59
11 changed files with 73 additions and 87 deletions
|
@ -131,7 +131,7 @@ class RegistrationStore(SQLBaseStore):
|
|||
user_id
|
||||
)
|
||||
for r in rows:
|
||||
self.get_user_by_token.invalidate(r)
|
||||
self.get_user_by_token.invalidate((r,))
|
||||
|
||||
@cached()
|
||||
def get_user_by_token(self, token):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue