summary refs log tree commit diff
path: root/tests/storage/test_event_federation.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-7/+9
|
* Improve get auth chain difference algorithm. (#7095)Erik Johnston2020-03-181-17/+140
| | | | | | | | | | | It was originally implemented by pulling the full auth chain of all state sets out of the database and doing set comparison. However, that can take a lot work if the state and auth chains are large. Instead, lets try and fetch the auth chains at the same time and calculate the difference on the fly, allowing us to bail early if all the auth chains converge. Assuming that the auth chains do converge more often than not, this should improve performance. Hopefully.
* Remove unused get_prev_events_and_hashes_for_roomRichard van der Hoff2020-01-061-13/+6
|
* rename get_prev_events_for_room to get_prev_events_and_hashes_for_roomRichard van der Hoff2020-01-061-2/+2
| | | | ... to make way for a new method which just returns the event ids
* Move DB pool and helper functions into dedicated Database classErik Johnston2019-12-051-4/+4
|
* Fix postgres unit testsErik Johnston2019-10-101-1/+1
|
* Fix dummy event insertion consent bug (#6053)Neil Johnson2019-09-261-0/+40
| | | Fixes #5905
* Run Black. (#5482)Amber Brown2019-06-201-7/+7
|
* Fix tests on postgresql (#3740)Amber Brown2018-09-041-3/+3
|
* Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-1/+1
|
* Run black.black2018-08-101-15/+24
|
* Test fixes for Python 3 (#3647)Amber Brown2018-08-091-1/+1
|
* Avoid creating events with huge numbers of prev_eventsRichard van der Hoff2018-04-161-0/+68
In most cases, we limit the number of prev_events for a given event to 10 events. This fixes a particular code path which created events with huge numbers of prev_events.