Commit Graph

202 Commits (a04c076b7f72bc4a3ba5605abf6b10ac682826be)

Author SHA1 Message Date
Mark Haines 82d7eea7e3 Move the versionstring code out of app.homeserver into util 9 years ago
Mark Haines 7e2f971c08 Remove some unused functions (#711) 9 years ago
Mark Haines b9ee5650b0 Move all the wrapper functions for distributor.fire 9 years ago
Erik Johnston 95ac3078da Rename things 9 years ago
Erik Johnston ee5aef6c72 Log contexts and squash things together 9 years ago
Erik Johnston 639cd07d6d Add comment 9 years ago
Erik Johnston af03ecf352 Deduplicate joins 9 years ago
Mark Haines 87f2dec8d4 Make the cache objects be per instance rather than being global 9 years ago
Erik Johnston 3f4eb4c924 Comment 9 years ago
Erik Johnston 8d73cd502b Add concurrently_execute function 9 years ago
Mark Haines 77cba688ed Fix typo 9 years ago
Mark Haines 191c7bef6b Deduplicate identical /sync requests 9 years ago
Erik Johnston 8122ad7bab Simplify intern_dict 9 years ago
Erik Johnston acdfef7b14 Intern all the things 9 years ago
Erik Johnston 75daede92f String intern 9 years ago
Erik Johnston c4a8cbd15a Make LruCache use a dedicated _Node class 9 years ago
Erik Johnston a547e2df85 Return list, not generator. 9 years ago
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