Commit Graph

185 Commits (158a322e8274b8ed031a20a00a3700d0798ae1c2)

Author SHA1 Message Date
Mark Haines 239badea9b Use syntax that works on both py2.7 and py3 9 years ago
Erik Johnston 374f9b2f07 Limit stream change cache size too 9 years ago
Erik Johnston ce2cdced61 Move cache size fiddling to descriptors only. Fix tests 9 years ago
Erik Johnston 910fc0f28f Add enviroment variable SYNAPSE_CACHE_FACTOR, default it to 0.1 9 years ago
Erik Johnston 72165e5b77 Reraise exception 9 years ago
Erik Johnston ff2d7551c7 Correct cache miss detection 9 years ago
Erik Johnston 278d6c0527 Report size of ExpiringCache 9 years ago
Erik Johnston c77dae7a1a Change the way we figure out presence updates for small deltas 9 years ago
Erik Johnston 5614b4dafb Add presence metrics 9 years ago
Erik Johnston b8cdec92c7 WheelTimer: Don't scan list, use index. 9 years ago
Erik Johnston e5999bfb1a Initial cut 9 years ago
Erik Johnston 9e7900da1e Add wheeltimer impl 9 years ago
Erik Johnston 4eb8f9ca8a Remove comment 9 years ago
Erik Johnston 00c9ad49df s/parent_context/previous_context/ 9 years ago
Erik Johnston 9777c5f49a Set parent context on instansiation 9 years ago
Erik Johnston 82631c5f94 Fix unit tests 9 years ago
Erik Johnston 9daa4e2a85 Don't create new logging context 9 years ago
Erik Johnston 3e2fcd67b2 Don't bother copying records on parent context 9 years ago
Erik Johnston 241b71852e Fix bug in util.metrics.Measure 9 years ago
Erik Johnston 97294ef2fd Create new context when measuring 9 years ago
Erik Johnston c486b7b41c Change logcontext warns to debug 9 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago
Erik Johnston 13e6262659 Add metrics to pushers 9 years ago
Erik Johnston d4f72a5bfb Allowing tagging log contexts 9 years ago
Daniel Wagner-Hall d83d004ccd Fix flake8 warnings for new flake8 9 years ago
Erik Johnston e70165039c If stream pos is greater then earliest known key and entity hasn't changed, then entity hasn't changed 9 years ago
Erik Johnston 18579534ea Prefill stream change caches 9 years ago
Erik Johnston fb7299800f Directly set self.value 9 years ago
Erik Johnston c046630c33 Remove spurious self.size 9 years ago
Erik Johnston a30364c1f9 Correctly bookkeep the size of TreeCache 9 years ago
Erik Johnston 766526e114 Make TreeCache keep track of its own size. 9 years ago
Erik Johnston 50e18938a9 Reset size on clear 9 years ago
Erik Johnston 3f5dd18bd4 If the same as the earliest key, assume nothing has changed. 9 years ago
Erik Johnston 40431251cb Correctly update _entity_to_key 9 years ago
Erik Johnston 82cf3a8043 Fix inequalities 9 years ago
Erik Johnston 0663c5bd52 Include cache hits with has_entity_changed 9 years ago
Erik Johnston 45cf827c8f Change name and doc has_entity_changed 9 years ago
Erik Johnston 00cb3eb24b Cache tags and account data 9 years ago
Erik Johnston c23a8c7833 Ensure keys to RoomStreamChangeCache are ints 9 years ago
Erik Johnston e1941442d4 Invalidate caches properly. Remove unused arg 9 years ago
Erik Johnston b97f6626b6 Add cache to room stream 9 years ago
David Baker 7cd418d38e Don't add the member functiopn if we're not using treecache 9 years ago
David Baker cd80019eec docs 9 years ago
David Baker d552861346 Revert all the bits changing keys of eeverything that used LRUCaches to tuples 9 years ago
David Baker 10f76dc5da Make LRU cache not default to treecache & add options to use it 9 years ago
David Baker 5b142788d2 Add __contains__ 9 years ago
David Baker eaa836e8ca Docs for treecache 9 years ago
David Baker 8acc5cb60f Add invalidate_many here too 9 years ago
David Baker 330be18ec5 peppate 9 years ago
David Baker f1f8122120 Change LRUCache to be tree-based so we can delete subtrees. 9 years ago