Commit Graph

186 Commits (00f51493f5726210bf649889ed3c03b56fddbe1d)

Author SHA1 Message Date
Paul "LeoNerd" Evans ca35e54d6b Fix typo "persiting" 8 years ago
Erik Johnston 52b2318777 Clobber EDUs in send queue 8 years ago
Erik Johnston 6c4d582144 Deduplicate presence in _update_states 8 years ago
Erik Johnston 8b93af662d Check the user_id for presence/typing matches origin 8 years ago
Erik Johnston 3c4208a057 Record counts of state changes 8 years ago
Erik Johnston 438ef47637 Short circuit if presence is the same 8 years ago
Erik Johnston 74a3b4a650 Fiddle should_notify to better report stats 8 years ago
Erik Johnston 69054e3d4c Record why we have chosen to notify 8 years ago
Erik Johnston 265d847ffd Fix typo in log line 8 years ago
Erik Johnston 097330bae8 Check correct variable 8 years ago
Erik Johnston 21b977ccfe Occaisonally persist unpersisted presence updates 8 years ago
Erik Johnston bc1a8b1f7a Don't notify for online -> online transitions. 8 years ago
Erik Johnston bed10f9880 Use state handler instead of get_users_in_room/get_joined_hosts 8 years ago
Erik Johnston 4e1cebd56f Make synchrotron accept /events 8 years ago
Will Hunt 2510db3e76 Don't change status_msg on /sync 8 years ago
Erik Johnston 216a05b3e3 .values() returns list of sets 9 years ago
Erik Johnston 96dc600579 Fix typos 9 years ago
Erik Johnston 377eb480ca Fire after 30s not 8h 9 years ago
Erik Johnston 4ce84a1acd Change metric style 9 years ago
Erik Johnston a7ff5a1770 Presence metrics. Change def of small delta 9 years ago
Mark Haines 70599ce925 Allow external processes to mark a user as syncing. (#812) 9 years ago
Mark Haines 1a3a2002ff Spell "domain" correctly 9 years ago
Mark Haines e168abbcff Don't inherit PresenceHandler from BaseHandler, remove references to self.hs from presence handler 9 years ago
Mark Haines 3b86ecfa79 Move the presence handler out of the Handlers object 9 years ago
Erik Johnston 08dfa8eee2 Add and use get_domian_from_id 9 years ago
Erik Johnston 56b5e83e36 Reduce database inserts when sending transactions 9 years ago
Mark Haines 7a38612620 Remove another unused function from presence 9 years ago
Mark Haines 673c96ce97 Remove dead code left over from presence changes 9 years ago
Mark Haines 60a0f81c7a Add a /replication API for extracting the updates that happened on 9 years ago
Erik Johnston 910fc0f28f Add enviroment variable SYNAPSE_CACHE_FACTOR, default it to 0.1 9 years ago
Erik Johnston b5f77eb12a Check presence token interval is less than 100, rather than the token itself 9 years ago
Erik Johnston 13f86c3489 Handle get_all_entities_changed returning None 9 years ago
Erik Johnston 6e0209112b Add comments 9 years ago
Erik Johnston c77dae7a1a Change the way we figure out presence updates for small deltas 9 years ago
Erik Johnston 02e928cf9b Don't include defer.returnValue in Measure block 9 years ago
Erik Johnston 56a94ccd9e Measure PresenceEventSource.get_new_events 9 years ago
Erik Johnston 138c405974 Pick up currently_active across federation 9 years ago
Erik Johnston 3dbaeef58c Correctly filter states 9 years ago
Erik Johnston 42ac5f0c1a Only send presence updates to remote hosts if user is ours 9 years ago
Erik Johnston 24d9f2c140 Add Measures to presence 9 years ago
Erik Johnston 4a95eb0a12 Add presence metric 9 years ago
Erik Johnston be799453aa Remove spurious extra metrics 9 years ago
Erik Johnston 929cb0ed7d Don't set currently_active for remote presence 9 years ago
Erik Johnston 5f4eca3816 More metrics 9 years ago
Erik Johnston 5614b4dafb Add presence metrics 9 years ago
Erik Johnston 48b652bcbe Remove invalid arg. 9 years ago
Erik Johnston b4796a62ee Add unit test 9 years ago
Erik Johnston fe95f2217c Add stuff pulled from the DB to the cache 9 years ago
Erik Johnston 8351538873 PEP8 9 years ago
Erik Johnston 112283e230 Prefix TS fields with _ts 9 years ago