MatrixSynapse/synapse/replication/http
Richard van der Hoff d7808a2dde
Extend `ResponseCache` to pass a context object into the callback (#10157)
This is the first of two PRs which seek to address #8518. This first PR lays the groundwork by extending ResponseCache; a second PR (#10158) will update the SyncHandler to actually use it, and fix the bug.

The idea here is that we allow the callback given to ResponseCache.wrap to decide whether its result should be cached or not. We do that by (optionally) passing a ResponseCacheContext into it, which it can modify.
2021-06-14 10:26:09 +01:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Extend `ResponseCache` to pass a context object into the callback (#10157) 2021-06-14 10:26:09 +01:00
account_data.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
devices.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
federation.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
login.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
membership.py Extend `ResponseCache` to pass a context object into the callback (#10157) 2021-06-14 10:26:09 +01:00
presence.py Use a database table to hold the users that should have full presence sent to them, instead of something in-memory (#9823) 2021-05-18 14:13:45 +01:00
push.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
register.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
send_event.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
streams.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00