mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Fix response cache
This commit is contained in:
parent
7b0f6293f2
commit
b3d5c4ad9d
@ -205,7 +205,7 @@ class FederationServer(FederationBase):
|
|||||||
result = self._state_resp_cache.get((room_id, event_id))
|
result = self._state_resp_cache.get((room_id, event_id))
|
||||||
if not result:
|
if not result:
|
||||||
with (yield self._server_linearizer.queue((origin, room_id))):
|
with (yield self._server_linearizer.queue((origin, room_id))):
|
||||||
resp = yield self.response_cache.set(
|
resp = yield self._state_resp_cache.set(
|
||||||
(room_id, event_id),
|
(room_id, event_id),
|
||||||
self._on_context_state_request_compute(room_id, event_id)
|
self._on_context_state_request_compute(room_id, event_id)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user