diff options
author | Erik Johnston <erik@matrix.org> | 2015-08-07 11:52:21 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-08-07 11:52:21 +0100 |
commit | b8e386db59eea6a59b8338acfd8ea42632d539be (patch) | |
tree | 19176a817ffb58d0c20579ece695b55a45633eeb /synapse/storage/registration.py | |
parent | Store absence of state in cache (diff) | |
download | synapse-b8e386db59eea6a59b8338acfd8ea42632d539be.tar.xz |
Change Cache to not use *args in its interface
Diffstat (limited to 'synapse/storage/registration.py')
-rw-r--r-- | synapse/storage/registration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py index 90e2606be2..4eaa088b36 100644 --- a/synapse/storage/registration.py +++ b/synapse/storage/registration.py @@ -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): |