Skip to content
Snippets Groups Projects
Commit 3213ff63 authored by Erik Johnston's avatar Erik Johnston
Browse files

Remove unnecessary cache

parent 20addfa3
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from ._base import SQLBaseStore, cached, cachedInlineCallbacks from ._base import SQLBaseStore, cachedInlineCallbacks
from twisted.internet import defer from twisted.internet import defer
...@@ -91,7 +91,6 @@ class StateStore(SQLBaseStore): ...@@ -91,7 +91,6 @@ class StateStore(SQLBaseStore):
defer.returnValue(dict(state_list)) defer.returnValue(dict(state_list))
@cached(num_args=1)
def _fetch_events_for_group(self, key, events): def _fetch_events_for_group(self, key, events):
return self._get_events( return self._get_events(
events, get_prev_content=False events, get_prev_content=False
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment