Skip to content
Snippets Groups Projects
  1. May 02, 2023
    • Shay's avatar
    • Erik Johnston's avatar
      Allow adding random delay to push (#15516) · 4de271a7
      Erik Johnston authored
      This is to discourage timing based profiling on the push gateways.
      4de271a7
    • Patrick Cloke's avatar
      Reduce the size of the HTTP connection pool for non-pushers. (#15514) · 6aca4e7c
      Patrick Cloke authored
      Pushers tend to make many connections to the same HTTP host
      (e.g. a new event comes in, causes events to be pushed, and then
      the homeserver connects to the same host many times). Due to this
      the per-host HTTP connection pool size was increased, but this does
      not make sense for other SimpleHttpClients.
      
      Add a parameter for the connection pool and override it for pushers
      (making a separate SimpleHttpClient for pushers with the increased
      configuration).
      
      This returns the HTTP connection pool settings to the default Twisted
      ones for non-pusher HTTP clients.
      6aca4e7c
    • Patrick Cloke's avatar
      Initial implementation of MSC3981: recursive relations API (#15315) · 07b1c70d
      Patrick Cloke authored
      Adds an optional keyword argument to the /relations API which
      will recurse a limited number of event relationships.
      
      This will cause the API to return not just the events related to the
      parent event, but also events related to those related to the parent
      event, etc.
      
      This is disabled by default behind an experimental configuration
      flag and is currently implemented using prefixed parameters.
      07b1c70d
  2. May 01, 2023
  3. Apr 28, 2023
  4. Apr 27, 2023
  5. Apr 26, 2023
  6. Apr 25, 2023
  7. Apr 24, 2023
  8. Apr 21, 2023
  9. Apr 20, 2023
    • Patrick Cloke's avatar
      Modify StoreKeyFetcher to read from server_keys_json. (#15417) · 5e024a06
      Patrick Cloke authored
      Before this change:
      
      * `PerspectivesKeyFetcher` and `ServerKeyFetcher` write to `server_keys_json`.
      * `PerspectivesKeyFetcher` also writes to `server_signature_keys`.
      * `StoreKeyFetcher` reads from `server_signature_keys`.
      
      After this change:
      
      * `PerspectivesKeyFetcher` and `ServerKeyFetcher` write to `server_keys_json`.
      * `PerspectivesKeyFetcher` also writes to `server_signature_keys`.
      * `StoreKeyFetcher` reads from `server_keys_json`.
      
      This results in `StoreKeyFetcher` now using the results from `ServerKeyFetcher`
      in addition to those from `PerspectivesKeyFetcher`, i.e. keys which are directly
      fetched from a server will now be pulled from the database instead of refetched.
      
      An additional minor change is included to avoid creating a `PerspectivesKeyFetcher`
      (and checking it) if no `trusted_key_servers` are configured.
      
      The overall impact of this should be better usage of cached results:
      
      * If a server has no trusted key servers configured then it should reduce how often keys
        are fetched.
      * if a server's trusted key server does not have a requested server's keys cached then it
        should reduce how often keys are directly fetched.
      5e024a06
  10. Apr 18, 2023
Loading