summary refs log tree commit diff
path: root/synapse/handlers/stats.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Count total_events and total_event_bytes within the loop.Olivier Wilkinson (reivilibre)2019-08-291-11/+11
| | | | | | | In this case, we still update these counts if we get stuck in the loop because the server is busy. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* Update total_events and total_event_bytes on new events.Olivier Wilkinson (reivilibre)2019-08-281-0/+6
| | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* Address code review comments github/rei/rss_inc3 rei/rss_inc3Olivier Wilkinson (reivilibre)2019-08-281-24/+30
| | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* Use `DeferredLock` instead of `threading.Lock`Olivier Wilkinson (reivilibre)2019-08-271-2/+3
| | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* For user stats, handle other membership transitions properly.Olivier Wilkinson (reivilibre)2019-08-271-3/+2
| | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* For user stats, handle other membership transitions properly.Olivier Wilkinson (reivilibre)2019-08-271-12/+16
| | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* No-op if no membership change and thus simplify verbose dict updates.Olivier Wilkinson (reivilibre)2019-08-271-28/+14
| | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* Adapt to stats now working in millisecondsOlivier Wilkinson (reivilibre)2019-08-271-1/+1
| | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* Handle state deltas and turn them into stats deltasOlivier Wilkinson (reivilibre)2019-08-201-1/+328
| | | | Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* Tear out current room & user statistics (#5880)reivilibre2019-08-201-279/+1
| | | | | | | | | | * Tear out current room & user statistics. Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net> * Black is back with more linting complaints Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
* Replace returnValue with return (#5736)Amber Brown2019-07-231-3/+3
|
* Run Black. (#5482)Amber Brown2019-06-201-1/+1
|
* Fix background updates to handle redactions/rejections (#5352)Erik Johnston2019-06-061-5/+13
| | | | | | | | * Fix background updates to handle redactions/rejections In background updates based on current state delta stream we need to handle that we may not have all the events (or at least that `get_events` may raise an exception).
* Room Statistics (#4338)Amber Brown2019-05-211-0/+325