Files
synapse/tests/util
Matthew Hodgson 22addc94a4 ⏺ 213 passed. The remaining 136 defer.* references break down into these categories:
1. async_helpers.py (40): Old timeout_deferred, delay_cancellation, ObservableDeferred, gather_results functions — have importers and use Deferred internals (.addBoth, .callback, .errback)
  2. deferred_cache.py (11): Entire DeferredCache class — used by descriptors.py
  3. descriptors.py (9): @cached() decorator using DeferredCache
  4. http/client.py (11): Twisted HTTP client using Producer/Consumer patterns
  5. http/connectproxyclient.py (5): Twisted Protocol for HTTPS proxying
  6. logging/context.py (7): Twisted fallback in run_in_background
  7. Reactor entry points (~15): defer.ensureDeferred in startup/shutdown/render

  These are the deep Twisted integration points — HTTP Protocol classes, the cache system, and reactor entry points. Each requires either a full class rewrite or depends on the reactor switching to asyncio.
2026-03-21 23:06:47 +00:00
..
2026-03-21 19:33:50 +00:00
2026-03-21 19:33:50 +00:00
2026-03-21 19:33:50 +00:00
2023-11-21 15:29:58 -05:00
2026-03-21 19:33:50 +00:00
2026-03-21 19:33:50 +00:00