summary refs log tree commit diff
path: root/synapse/storage/stats.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add some logging to the rooms stats updates, to try to track down a flaky ↵Richard van der Hoff2019-10-071-0/+3
| | | | test (#6167)
* Correctly handle non-bool m.federate flagErik Johnston2019-09-061-1/+3
|
* Fix and refactor room and user stats (#5971)Erik Johnston2019-09-041-322/+714
| | | Previously the stats were not being correctly populated.
* Stop trying to fetch events with event_id=None. (#5753)Richard van der Hoff2019-07-241-9/+11
| | | | | | | `None` is not a valid event id, so queuing up a database fetch for it seems like a silly thing to do. I considered making `get_event` return `None` if `event_id is None`, but then its interaction with `allow_none` seemed uninituitive, and strong typing ftw.
* Replace returnValue with return (#5736)Amber Brown2019-07-231-8/+8
|
* Run Black. (#5482)Amber Brown2019-06-201-10/+24
|
* FixErik Johnston2019-06-031-1/+2
|
* Ignore room state with null bytes in for room statsErik Johnston2019-06-031-0/+15
|
* Add indices. Remove room_ids accidentally addedErik Johnston2019-05-311-13/+28
| | | | | | | | | | We have to do this by re-inserting a background update and recreating tables, as the tables only get created during a background update and will later be deleted. We also make sure that we remove any entries that should have been removed but weren't due to a race that has been fixed in a previous commit.
* Move deletion from table inside txnErik Johnston2019-05-301-2/+5
|
* Fetch membership counts all at onceErik Johnston2019-05-301-16/+7
|
* Get events all at onceErik Johnston2019-05-301-33/+26
|
* Fix logging for room stats background updateTravis Ralston2019-05-251-1/+1
|
* Room Statistics (#4338)Amber Brown2019-05-211-0/+450