Skip to content
Snippets Groups Projects
  1. Oct 19, 2020
    • Richard van der Hoff's avatar
      Add `DeferredCache.get_immediate` method (#8568) · 903d11c4
      Richard van der Hoff authored
      * Add `DeferredCache.get_immediate` method
      
      A bunch of things that are currently calling `DeferredCache.get` are only
      really interested in the result if it's completed. We can optimise and simplify
      this case.
      
      * Remove unused 'default' parameter to DeferredCache.get()
      
      * another get_immediate instance
      903d11c4
  2. Oct 16, 2020
  3. Oct 14, 2020
  4. Sep 04, 2020
  5. Aug 28, 2020
  6. Aug 27, 2020
  7. Aug 19, 2020
  8. Aug 18, 2020
  9. Aug 06, 2020
  10. Jul 09, 2020
  11. Jul 03, 2020
  12. Jun 16, 2020
  13. May 27, 2020
  14. May 11, 2020
  15. Apr 22, 2020
  16. Mar 24, 2020
    • Richard van der Hoff's avatar
      Clean up some LoggingContext stuff (#7120) · 39230d21
      Richard van der Hoff authored
      * Pull Sentinel out of LoggingContext
      
      ... and drop a few unnecessary references to it
      
      * Factor out LoggingContext.current_context
      
      move `current_context` and `set_context` out to top-level functions.
      
      Mostly this means that I can more easily trace what's actually referring to
      LoggingContext, but I think it's generally neater.
      
      * move copy-to-parent into `stop`
      
      this really just makes `start` and `stop` more symetric. It also means that it
      behaves correctly if you manually `set_log_context` rather than using the
      context manager.
      
      * Replace `LoggingContext.alive` with `finished`
      
      Turn `alive` into `finished` and make it a bit better defined.
      39230d21
  17. Feb 21, 2020
  18. Jan 24, 2020
  19. Jan 16, 2020
  20. Dec 10, 2019
  21. Dec 09, 2019
  22. Oct 30, 2019
  23. Oct 28, 2019
  24. Sep 17, 2019
  25. 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
  26. Jul 25, 2019
    • Richard van der Hoff's avatar
      Fix some error cases in the caching layer. (#5749) · 618bd1ee
      Richard van der Hoff authored
      There was some inconsistent behaviour in the caching layer around how
      exceptions were handled - particularly synchronously-thrown ones.
      
      This seems to be most easily handled by pushing the creation of
      ObservableDeferreds down from CacheDescriptor to the Cache.
      618bd1ee
  27. Jul 23, 2019
  28. 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
      9481707a
  29. Jul 03, 2019
  30. Jul 02, 2019
  31. Jun 20, 2019
  32. May 10, 2019
  33. Apr 11, 2019
  34. Jan 30, 2019
  35. Jan 17, 2019
  36. Sep 27, 2018
  37. Sep 21, 2018
  38. Aug 10, 2018
Loading