From 3c9c39df6c33f63ce478985f3121d0a5015212d7 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 3 Jul 2019 14:50:54 -0600 Subject: [PATCH] Don't cache access tokens --- synapse/storage/registration.py | 1 - 1 file changed, 1 deletion(-) diff --git a/synapse/storage/registration.py b/synapse/storage/registration.py index d6513fd8f3..80205d28c3 100644 --- a/synapse/storage/registration.py +++ b/synapse/storage/registration.py @@ -82,7 +82,6 @@ class RegistrationWorkerStore(SQLBaseStore): is_trial = (now - info["creation_ts"] * 1000) < trial_duration_ms defer.returnValue(is_trial) - @cached() def get_user_by_access_token(self, token): """Get a user from the given access token.