Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename database classes to make some sense (#8033) | Erik Johnston | 2020-08-05 | 1 | -7/+9 |
| | |||||
* | Improve get auth chain difference algorithm. (#7095) | Erik Johnston | 2020-03-18 | 1 | -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_room | Richard van der Hoff | 2020-01-06 | 1 | -13/+6 |
| | |||||
* | rename get_prev_events_for_room to get_prev_events_and_hashes_for_room | Richard van der Hoff | 2020-01-06 | 1 | -2/+2 |
| | | | | ... to make way for a new method which just returns the event ids | ||||
* | Move DB pool and helper functions into dedicated Database class | Erik Johnston | 2019-12-05 | 1 | -4/+4 |
| | |||||
* | Fix postgres unit tests | Erik Johnston | 2019-10-10 | 1 | -1/+1 |
| | |||||
* | Fix dummy event insertion consent bug (#6053) | Neil Johnson | 2019-09-26 | 1 | -0/+40 |
| | | | Fixes #5905 | ||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -7/+7 |
| | |||||
* | Fix tests on postgresql (#3740) | Amber Brown | 2018-09-04 | 1 | -3/+3 |
| | |||||
* | Run tests under PostgreSQL (#3423) | Amber Brown | 2018-08-13 | 1 | -1/+1 |
| | |||||
* | Run black. | black | 2018-08-10 | 1 | -15/+24 |
| | |||||
* | Test fixes for Python 3 (#3647) | Amber Brown | 2018-08-09 | 1 | -1/+1 |
| | |||||
* | Avoid creating events with huge numbers of prev_events | Richard van der Hoff | 2018-04-16 | 1 | -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. |