Commit Graph

111 Commits (31c15dcb80c8f11fd03dbb9b0ccff4777dc8e457)

Author SHA1 Message Date
Richard van der Hoff 14fa9d4d92 Avoid extra db lookups 6 years ago
Richard van der Hoff 0a65450d04 Validation for events/rooms in fed requests 6 years ago
Richard van der Hoff bd4b25f4d0 Remove some redundant joins on event_edges.room_id 6 years ago
Richard van der Hoff 21e878ebb6 Make EventStore inherit from EventFederationStore 6 years ago
Richard van der Hoff 03751a6420 Fix some looping_call calls which were broken in #3604 6 years ago
Richard van der Hoff 371da42ae4 Wrap a number of things that run in the background 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Richard van der Hoff 639480e14a Avoid creating events with huge numbers of prev_events 7 years ago
Adrian Tschira 878995e660 Replace Queue with six.moves.queue 7 years ago
Erik Johnston a9a2d66cdd Split out SignatureStore and EventFederationStore 7 years ago
Richard van der Hoff 6cfee09be9 Make __init__ consitstent across Store heirarchy 7 years ago
Erik Johnston 6e614e9e10 Add background task to clear out old event_auth 8 years ago
Erik Johnston c049472b8a Only store event_auth for state events 8 years ago
Erik Johnston 30348c924c Use txn.fetchall() so we can reuse txn 8 years ago
Erik Johnston 00957d1aa4 User Cursor.__iter__ instead of fetchall 8 years ago
Richard van der Hoff 5068fb16a5 Refactoring and cleanups 8 years ago
Richard van der Hoff fc2f29c1d0 Fix bugs in the /keys/changes api 8 years ago
Erik Johnston 5deaf9e30b Up get_latest_event_ids_in_room cache 8 years ago
Erik Johnston 4c6a31cd6e Calculate the forward extremeties once 8 years ago
Erik Johnston dc692556d6 Remove spurious AS clause 8 years ago
Erik Johnston 0b78d8adf2 Fix _delete_old_forward_extrem_cache query 8 years ago
Erik Johnston a68807d426 Comment 8 years ago
Erik Johnston e58a9d781c Filter remote rooms lists locally 8 years ago
Erik Johnston de4f798f01 Handling expiring stream extrems correctly. 8 years ago
Erik Johnston 955f34d23e Change get_pos_of_last_change to return upper bound 8 years ago
Erik Johnston cb3edec6af Use stream_change cache to make get_forward_extremeties_for_room cache more effective 8 years ago
Erik Johnston 55e6fc917c Add cache to get_forward_extremeties_for_room 8 years ago
Erik Johnston baffe96d95 Add a room visibility stream 8 years ago
Erik Johnston ed992ae6ba Add a DB index to figure out past state at a stream ordering in a room 8 years ago
Erik Johnston d76d89323c Use computed prev event ids 9 years ago
Daniel Wagner-Hall a4e278bfe7 Respond to federated invite with non-empty context 9 years ago
Daniel Wagner-Hall d83d004ccd Fix flake8 warnings for new flake8 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Mark Haines c292dba70c Remove unused functions from synapse/storage/event_federation.py 9 years ago
Mark Haines 3559a835a2 synapse/storage/event_federation.py:_get_auth_events is unused 9 years ago
Erik Johnston 8148c48f11 "Comments" 9 years ago
Erik Johnston 3b05b67c89 When updating a stored event from outlier to non-outlier, remember to update the extremeties 9 years ago
Mark Haines 78323ccdb3 Remove syutil dependency in favour of smaller single-purpose libraries 9 years ago
Erik Johnston 457970c724 Don't insert events into 'event_*_extremeties' tables if they're outliers 9 years ago
Erik Johnston 2df8dd9b37 Move all the caches into their own package, synapse.util.caches 9 years ago
Erik Johnston 20addfa358 Change Cache to not use *args in its interface 9 years ago
Erik Johnston b8e386db59 Change Cache to not use *args in its interface 9 years ago
Erik Johnston 65e69dec8b Don't explode if we don't recognize one of the event_ids in the backfill request 10 years ago
Erik Johnston 5130d80d79 Add bulk insert events API 10 years ago
Erik Johnston 6924852592 Batch SELECTs in _get_auth_chain_ids_txn 10 years ago
Mark Haines b6adfc59f5 Invalidate the get_latest_event_ids_in_room cache when deleting from event_forward_extremities 10 years ago
Erik Johnston a910984b58 Actually return something from lambda 10 years ago
Erik Johnston e309b1045d Sort backfill events 10 years ago
Erik Johnston 0180bfe4aa Remove dead code 10 years ago
Erik Johnston 1f3d1d85a9 Only get non-state 10 years ago