Commit Graph

202 Commits (a04c076b7f72bc4a3ba5605abf6b10ac682826be)

Author SHA1 Message Date
Erik Johnston c67ba143fa Move DictionaryCache 9 years ago
Erik Johnston 9beaedd164 Enforce ascii filenames for uploads 10 years ago
Erik Johnston a68abc79fd Add comment on cancellation of observers 10 years ago
Erik Johnston 653533a3da Fix log context when sending requests 10 years ago
Erik Johnston 22049ea700 Refactor the notifier.wait_for_events code to be clearer. Add _NotifierUserStream.new_listener that accpets a token to avoid races. 10 years ago
Erik Johnston dd74436ffd Unused import 10 years ago
Erik Johnston 31ade3b3e9 Remove a deep copy 10 years ago
Mark Haines d61ce3f670 Add a cache for get_current_state with state_key 10 years ago
Erik Johnston 7cd6a6f6cf Awful idea for speeding up fetching of events 10 years ago
Erik Johnston cdb3757942 Refactor _get_events 10 years ago
Erik Johnston 8022b27fc2 Make distributer.fire work as it did 10 years ago
Erik Johnston 95dedb866f Unwrap defer.gatherResults failures 10 years ago
Erik Johnston 2236ef6c92 Fix up leak. Add warnings. 10 years ago
Erik Johnston da1aa07db5 Add some docs 10 years ago
Erik Johnston 476899295f Change the way we do logging contexts so that they survive divergences 10 years ago
Erik Johnston fca28d243e Change the way we create observers to deferreds so that we don't get spammed by 'unhandled errors' 10 years ago
Erik Johnston 1c82fbd2eb Implement create_observer. 10 years ago
Erik Johnston 806f380a8b Make LruCache thread safe, as its used for event cache 10 years ago
Erik Johnston ccda401dbf SYN-338: Fix typo that caused the cache to throw an exception in some instances 10 years ago
Erik Johnston 9236136f3a Make work in both Maria and SQLite. Fix tests 10 years ago
Paul "LeoNerd" Evans d6b3ea75d4 Implement the 'key in dict' test for LruCache() 10 years ago
Erik Johnston 69135f59aa Implement registering with shared secret. 10 years ago
Paul "LeoNerd" Evans e1a7e3564f Delete a couple of TODO markers of monitoring stats now done 10 years ago
Paul "LeoNerd" Evans 027fd1242c Give LruCache a __len__, so that len(cache) works 10 years ago
Erik Johnston 3077cb2915 Use contextlib.contextmanager instead of a custom class 10 years ago
Erik Johnston 0554d07082 Move federation rate limiting out of transport layer 10 years ago
Erik Johnston cc3d3babb0 Remove unused import 10 years ago
Erik Johnston 36e144091b Remove spurious comma. Remove temp run_on_reactor 10 years ago
Erik Johnston b17bd31da0 Temporarily add a run_on_reactor() call 10 years ago
Erik Johnston 859fbd4423 s/self._clock/self.clock/ 10 years ago
Erik Johnston 4fd176a41d More docs 10 years ago
Erik Johnston d77912ff44 Docs. 10 years ago
Erik Johnston 9371019133 Try to only back off if we think we failed to connect to the remote 10 years ago
Erik Johnston c8436b38a0 Only update destination_retry_timings if we have succeeded when retrying 10 years ago
Erik Johnston f91263b1e0 Remove spurious self 10 years ago
Erik Johnston 2b8f1a956c Add per server retry limiting. 10 years ago
Erik Johnston 964bb43fbe Fix typo in function name 10 years ago
Erik Johnston e7e20417ca ExpiringCache: purge every 1/2 interval 10 years ago
Erik Johnston 472734a8cc Consume errors in time_bound_deferred 10 years ago
Erik Johnston 2674aeb96a Factor out ExpiringCache from StateHandler 10 years ago
Erik Johnston ef276e8770 Fix so timing out connections to actually work. 10 years ago
Erik Johnston ddb816cf60 Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder that understands FrozenDict 10 years ago
Mark Haines d8324d5a2b Add a lru cache class 10 years ago
Erik Johnston dcf52469e8 Move time_bound_deferred into Clock 10 years ago
Erik Johnston 0e6b3e4e40 Time out HTTP federation requests 10 years ago
Erik Johnston ef995e6946 Add looping_call to Clock 10 years ago
Erik Johnston b4886264a3 Bugfix cache layer 10 years ago
Erik Johnston c4e3029d55 Add cache layer to state group resolution 10 years ago
Erik Johnston dfa05f0cd6 Optimize FrozenEvent creation 10 years ago
Erik Johnston d5ae67e67d Fix typo where we used wrong var. 10 years ago