summary refs log tree commit diff
path: root/synapse/util/caches (follow)
Commit message (Expand)AuthorAgeFilesLines
* Small optimisation to CacheListDescriptorErik Johnston2016-06-031-2/+2
* Make cachedList go a bit fasterErik Johnston2016-06-031-10/+34
* Deduplicate joinsErik Johnston2016-04-071-1/+1
* Make the cache objects be per instance rather than being globalMark Haines2016-04-061-21/+24
* Fix typoMark Haines2016-03-241-1/+1
* Deduplicate identical /sync requestsMark Haines2016-03-241-0/+46
* Simplify intern_dictErik Johnston2016-03-231-17/+10
* Intern all the thingsErik Johnston2016-03-231-1/+57
* String internErik Johnston2016-03-231-0/+8
* Make LruCache use a dedicated _Node classErik Johnston2016-03-221-32/+41
* Return list, not generator.Erik Johnston2016-03-141-3/+1
* Use syntax that works on both py2.7 and py3Mark Haines2016-03-071-1/+1
* Limit stream change cache size tooErik Johnston2016-03-011-1/+5
* Move cache size fiddling to descriptors only. Fix testsErik Johnston2016-03-011-2/+2
* Add enviroment variable SYNAPSE_CACHE_FACTOR, default it to 0.1Erik Johnston2016-03-011-0/+6
* Reraise exceptionErik Johnston2016-03-011-0/+1
* Correct cache miss detectionErik Johnston2016-03-011-1/+1
* Report size of ExpiringCacheErik Johnston2016-02-231-2/+13
* Change the way we figure out presence updates for small deltasErik Johnston2016-02-231-0/+16
* Fix up logcontextsErik Johnston2016-02-082-6/+13
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-023-4/+4
* 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
* Merge pull request #536 from matrix-org/erikj/syncErik Johnston2016-01-291-0/+107
|\
| * 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-282-92/+95
| * Ensure keys to RoomStreamChangeCache are intsErik Johnston2016-01-281-0/+6
| * Invalidate caches properly. Remove unused argErik Johnston2016-01-281-2/+2
| * Add cache to room streamErik Johnston2016-01-271-0/+86
* | Directly set self.valueErik Johnston2016-01-291-1/+1
* | Remove spurious self.sizeErik Johnston2016-01-291-1/+0
* | Correctly bookkeep the size of TreeCacheErik Johnston2016-01-291-3/+28
* | Make TreeCache keep track of its own size.Erik Johnston2016-01-292-6/+10
* | Reset size on clearErik Johnston2016-01-291-0/+2
|/
* Don't add the member functiopn if we're not using treecacheDavid Baker2016-01-221-1/+4
* docsDavid Baker2016-01-221-1/+5
* Revert all the bits changing keys of eeverything that used LRUCaches to tuplesDavid Baker2016-01-222-6/+6
* Make LRU cache not default to treecache & add options to use itDavid Baker2016-01-222-10/+19
* Add __contains__David Baker2016-01-221-0/+3
* Docs for treecacheDavid Baker2016-01-221-0/+5
* Add invalidate_many here tooDavid Baker2016-01-221-0/+1
* peppateDavid Baker2016-01-211-2/+2
* Change LRUCache to be tree-based so we can delete subtrees.David Baker2016-01-214-14/+102
* copyrightsMatthew Hodgson2016-01-076-6/+6
* Add some docstring explaining the snapshot cache doesMark Haines2015-12-231-1/+23
* Add a unit test for the snapshot cacheMark Haines2015-12-231-2/+2
* Add a cache for initialSync responses that expires after 5 minutesMark Haines2015-12-221-0/+71
* Don't assume @cachedList function returns keys for everythingErik Johnston2015-08-181-1/+1
* DocstringErik Johnston2015-08-121-0/+27
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/dictionary...Erik Johnston2015-08-121-1/+3
* Wire up the dictionarycache to the metricsErik Johnston2015-08-123-45/+41
* Move all the caches into their own package, synapse.util.cachesErik Johnston2015-08-115-0/+746