summary refs log tree commit diff
path: root/synapse/util/caches/stream_change_cache.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix assertion to stop transaction queue getting wedgedRichard van der Hoff2017-03-151-1/+1
| | | | | | | | ... and update some docstrings to correctly reflect the types being used. get_new_device_msgs_for_remote can return a long under some circumstances, which was being stored in last_device_list_stream_id_by_dest, and was then upsetting things on the next loop.
* Change get_pos_of_last_change to return upper boundErik Johnston2016-09-151-3/+4
|
* Use stream_change cache to make get_forward_extremeties_for_room cache more ↵Erik Johnston2016-09-151-0/+5
| | | | effective
* Change CacheMetrics to be quickerErik Johnston2016-06-031-8/+8
| | | | | | We change it so that each cache has an individual CacheMetric, instead of having one global CacheMetric. This means that when a cache tries to increment a counter it does not need to go through so many indirections.
* Return list, not generator.Erik Johnston2016-03-141-3/+1
|
* Limit stream change cache size tooErik Johnston2016-03-011-1/+5
|
* Change the way we figure out presence updates for small deltasErik Johnston2016-02-231-0/+16
|
* If stream pos is greater then earliest known key and entity hasn't changed, ↵Erik Johnston2016-01-291-8/+3
| | | | then entity hasn't changed
* Prefill stream change cachesErik Johnston2016-01-291-1/+4
|
* If the same as the earliest key, assume nothing has changed.Erik Johnston2016-01-281-0/+5
|
* Correctly update _entity_to_keyErik Johnston2016-01-281-4/+5
|
* Fix inequalitiesErik Johnston2016-01-281-2/+2
|
* Include cache hits with has_entity_changedErik Johnston2016-01-281-0/+4
|
* Change name and doc has_entity_changedErik Johnston2016-01-281-1/+3
|
* Cache tags and account dataErik Johnston2016-01-281-0/+95