summary refs log tree commit diff
path: root/synapse/util/async_helpers.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Improve type hints for attrs classes (#16276)David Robertson2023-09-081-14/+11
* Run pyupgrade for python 3.7 & 3.8. (#16110)Patrick Cloke2023-08-151-1/+2
* Add stricter mypy options (#15694)Patrick Cloke2023-05-311-1/+1
* Batch up replication requests to request the resyncing of remote users's devi...reivilibre2023-01-101-4/+51
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-161-1/+2
* Immediately retry any requests that have backed off when a server comes back ...Erik Johnston2022-05-101-0/+57
* Use `ParamSpec` in a few places (#12667)David Robertson2022-05-091-7/+19
* Update `delay_cancellation` to accept any awaitable (#12468)Sean Quah2022-04-221-10/+42
* Fix edge case where a `Linearizer` could get stuck (#12358)Sean Quah2022-04-051-1/+5
* Refactor and convert `Linearizer` to async (#12357)Sean Quah2022-04-051-77/+67
* Add cancellation support to `ReadWriteLock` (#12120)Sean Quah2022-03-141-31/+40
* Add `delay_cancellation` utility function (#12180)Sean Quah2022-03-141-6/+42
* Add type hints for `ObservableDeferred` attributes (#12159)Sean Quah2022-03-041-3/+11
* Fix rare error in `ReadWriteLock` when writers complete immediately (#12105)Sean Quah2022-03-011-1/+4
* Add `stop_cancellation` utility function (#12106)Sean Quah2022-03-011-0/+19
* Improve exception handling for concurrent execution (#12109)Richard van der Hoff2022-03-011-22/+32
* Use auto_attribs/native type hints for attrs classes. (#11692)Patrick Cloke2022-01-131-3/+3
* Improve opentracing support for `ResponseCache` (#11607)Richard van der Hoff2021-12-201-1/+21
* Add missing type hints to `synapse.logging.context` (#11556)Sean Quah2021-12-141-1/+56
* Add most missing type hints to synapse.util (#11328)Patrick Cloke2021-11-161-16/+16
* Add missing type hints to `synapse.app`. (#11287)Patrick Cloke2021-11-101-3/+2
* ObservableDeferred: run observers in order (#11229)Richard van der Hoff2021-11-021-16/+18
* Fix long-standing bug where `ReadWriteLock` could drop logging contexts (#10993)Sean Quah2021-10-081-2/+4
* Add types to synapse.util. (#10601)reivilibre2021-09-101-6/+10
* Generics for `ObservableDeferred` (#10491)Richard van der Hoff2021-07-281-6/+8
* Fix up type hints for Twisted 21.7 (#10490)Richard van der Hoff2021-07-281-8/+8
* Use inline type hints in `http/federation/`, `storage/` and `util/` (#10381)Jonathan de Jong2021-07-151-4/+4
* When joining a remote room limit the number of events we concurrently check s...Erik Johnston2021-06-081-5/+16
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Enable addtional flake8-bugbear linting checks. (#9659)Jonathan de Jong2021-03-241-1/+1
* Add logging to ObservableDeferred callbacks (#9523)Jonathan de Jong2021-03-091-8/+18
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-161-7/+6
* Fix some typos.Patrick Cloke2021-02-121-1/+1
* Allow spam-checker modules to be provide async methods. (#8890)David Teller2020-12-111-3/+5
* Fix handling of connection timeouts in outgoing http requests (#8400)Richard van der Hoff2020-09-291-29/+18
* Add types to async_helpers (#8260)Patrick Cloke2020-09-081-50/+85
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-4/+4
* Convert ReadWriteLock to async/await. (#8202)Patrick Cloke2020-08-281-8/+8
* Fix some spelling mistakes / typos. (#7811)Patrick Cloke2020-07-091-1/+1
* Fix "argument of type 'ObservableDeferred' is not iterable" error (#7708)Patrick Cloke2020-06-161-1/+1
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-2/+0
* Speed up processing of federation stream RDATA rows.Erik Johnston2020-05-271-0/+12
* Fix stacktraces when using ObservableDeferred and async/await (#6836)Erik Johnston2020-02-031-0/+4
* Persist auth/state events at backwards extremities when we fetch them (#6526)Richard van der Hoff2019-12-161-2/+2
* Remove usage of deprecated logger.warn method from codebase (#6271)Andrew Morgan2019-10-311-1/+1
* Clarify docstringErik Johnston2019-10-301-0/+4
* Make ObservableDeferred.observe() always return deferred.Erik Johnston2019-10-301-5/+2
* Make concurrently_execute work with async/awaitErik Johnston2019-10-291-4/+3
* Add maybe_awaitable and fix __init__ bugsErik Johnston2019-10-111-0/+29
* Fix up some typechecking (#6150)Amber Brown2019-10-021-3/+7
* Replace returnValue with return (#5736)Amber Brown2019-07-231-2/+2
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-5/+4
* Run Black. (#5482)Amber Brown2019-06-201-17/+24
* Update docstring with correct return typeErik Johnston2019-05-151-1/+1
* Allow client event serialization to be asyncErik Johnston2019-05-141-0/+19
* Remove periods from copyright headers (#5046)Andrew Morgan2019-04-111-1/+1
* Make linearizer more quiet (#4507)Amber Brown2019-01-291-5/+5
* Fix incorrect logcontexts after a Deferred was cancelled (#4407)Richard van der Hoff2019-01-171-1/+3
* Replace custom DeferredTimeoutError with defer.TimeoutErrorErik Johnston2018-09-191-9/+3
* Run canceller first to allow it to generate correct errorErik Johnston2018-09-191-2/+5
* Update to use new timeout function everywhere.Erik Johnston2018-09-191-54/+19
* Fix timeout functionErik Johnston2018-09-151-1/+2
* Add an awful secondary timeout to fix wedged requestsErik Johnston2018-09-141-0/+51
* Merge branch 'rav/fix_linearizer_cancellation' into developRichard van der Hoff2018-08-101-43/+68
* Rename async to async_helpers because `async` is a keyword on Python 3.7 (#3678)Amber Brown2018-08-101-0/+415