summary refs log tree commit diff
path: root/synapse/util/caches/stream_change_cache.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Correctly mention previous copyright (#16820)Erik Johnston2024-01-231-0/+1
* Update license headersPatrick Cloke2023-11-211-10/+16
* Check the stream position before checking if the cache is empty. (#14639)Patrick Cloke2022-12-081-4/+5
* Better return type for `get_all_entities_changed` (#14604)Erik Johnston2022-12-051-15/+37
* Compare to the earliest known stream pos in the stream change cache. (#14435)Patrick Cloke2022-12-051-26/+116
* Remove duplicated code to evict entries. (#14410)Patrick Cloke2022-11-101-9/+2
* More types for synapse.util, part 1 (#10888)David Robertson2021-10-061-3/+3
* Add types to synapse.util. (#10601)reivilibre2021-09-101-1/+1
* Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)Jonathan de Jong2021-07-151-3/+3
* Remove `synapse.types.Collection` (#9856)Richard van der Hoff2021-04-221-2/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-4/+2
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-3/+1
* Allow configuration of Synapse's cache without using synctl or environment va...Amber Brown2020-05-111-2/+31
* Speed up fetching device lists changes in sync.Erik Johnston2020-05-051-4/+15
* Extend StreamChangeCache to support multiple entities per stream ID (#7303)Richard van der Hoff2020-04-221-46/+71
* On catchup, process each row with its own stream id (#7286)Richard van der Hoff2020-04-201-0/+3
* Run Black. (#5482)Amber Brown2019-06-201-6/+7
* Make scripts/ and scripts-dev/ pass pyflakes (and the rest of the codebase on...Amber Brown2018-10-201-1/+3
* Use efficient .intersectionErik Johnston2018-07-171-4/+1
* Fix perf regression in PR #3530Erik Johnston2018-07-171-1/+6
* Don't return unknown entities in get_entities_changedErik Johnston2018-07-131-8/+1
* Reduce set building in get_entities_changedRichard van der Hoff2018-07-121-8/+12
* run isortAmber Brown2018-07-091-3/+2
* Revert "Revert "Try to not use as much CPU in the StreamChangeCache"" (#3454)Amber Brown2018-06-281-2/+4
* Revert "Try to not use as much CPU in the StreamChangeCache"Matthew Hodgson2018-06-261-4/+2
* fixesAmber Brown2018-06-261-2/+2
* fixesAmber Brown2018-06-261-2/+2
* try and make loading items from the cache fasterAmber Brown2018-06-261-2/+4
* Port to sortedcontainers (with tests!) (#3332)Amber Brown2018-06-061-26/+31
* replacing portionsAmber Brown2018-05-211-1/+1
* Revert "Use sortedcontainers instead of blist"Richard van der Hoff2018-04-131-2/+2
* Use sortedcontainers instead of blistVincent Breitmoser2018-04-101-2/+2
* Define CACHE_SIZE_FACTOR onceErik Johnston2017-07-041-5/+1
* Rewrite conditionalErik Johnston2017-06-091-1/+1
* Fix has_any_entity_changedErik Johnston2017-06-091-4/+4
* Add stream change cacheErik Johnston2017-05-311-0/+15
* Fix assertion to stop transaction queue getting wedgedRichard van der Hoff2017-03-151-1/+1
* 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 e...Erik Johnston2016-09-151-0/+5
* Change CacheMetrics to be quickerErik Johnston2016-06-031-8/+8
* 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, t...Erik Johnston2016-01-291-8/+3
* 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