Skip to content
Snippets Groups Projects
  1. Jan 24, 2020
  2. Jan 16, 2020
  3. Dec 10, 2019
  4. Dec 09, 2019
  5. Oct 30, 2019
  6. Oct 28, 2019
  7. Sep 17, 2019
  8. Aug 13, 2019
    • Erik Johnston's avatar
      Retry well-known lookup before expiry. · 17e1e807
      Erik Johnston authored
      This gives a bit of a grace period where we can attempt to refetch a
      remote `well-known`, while still using the cached result if that fails.
      
      Hopefully this will make the well-known resolution a bit more torelant
      of failures, rather than it immediately treating failures as "no result"
      and caching that for an hour.
      17e1e807
  9. Jul 25, 2019
  10. Jul 23, 2019
  11. Jul 05, 2019
    • Richard van der Hoff's avatar
      Fixes to the federation rate limiter (#5621) · 9481707a
      Richard van der Hoff authored
      - Put the default window_size back to 1000ms (broken by #5181)
      - Make the `rc_federation` config actually do something
      - fix an off-by-one error in the 'concurrent' limit
      - Avoid creating an unused `_PerHostRatelimiter` object for every single
        incoming request
      Unverified
      9481707a
  12. Jul 03, 2019
  13. Jul 02, 2019
  14. Jun 20, 2019
  15. May 10, 2019
  16. Apr 11, 2019
  17. Jan 30, 2019
  18. Jan 17, 2019
  19. Sep 27, 2018
  20. Sep 21, 2018
  21. Aug 10, 2018
  22. Jul 27, 2018
  23. Jul 20, 2018
  24. Jul 17, 2018
  25. Jul 13, 2018
  26. Jul 09, 2018
  27. Jul 04, 2018
  28. Jun 22, 2018
  29. Jun 14, 2018
  30. Jun 05, 2018
  31. May 29, 2018
  32. May 02, 2018
    • Richard van der Hoff's avatar
      Remove spurious unittest.DEBUG · 11607006
      Richard van der Hoff authored
      11607006
    • Richard van der Hoff's avatar
      Fix a class of logcontext leaks · f22e7cda
      Richard van der Hoff authored
      So, it turns out that if you have a first `Deferred` `D1`, you can add a
      callback which returns another `Deferred` `D2`, and `D2` must then complete
      before any further callbacks on `D1` will execute (and later callbacks on `D1`
      get the *result* of `D2` rather than `D2` itself).
      
      So, `D1` might have `called=True` (as in, it has started running its
      callbacks), but any new callbacks added to `D1` won't get run until `D2`
      completes - so if you `yield D1` in an `inlineCallbacks` function, your `yield`
      will 'block'.
      
      In conclusion: some of our assumptions in `logcontext` were invalid. We need to
      make sure that we don't optimise out the logcontext juggling when this
      situation happens. Fortunately, it is easy to detect by checking `D1.paused`.
      f22e7cda
    • Richard van der Hoff's avatar
      Fix incorrect reference to StringIO · e482f8cd
      Richard van der Hoff authored
      This was introduced in 4f2f5171
      e482f8cd
  33. Apr 22, 2018
Loading