Skip to content
Snippets Groups Projects
  1. Oct 04, 2022
    • Patrick Cloke's avatar
      Send the appservice access token as a header. (#13996) · 27fa0fa6
      Patrick Cloke authored
      Implements MSC2832 by sending application service access
      tokens in the Authorization header.
      
      The access token is also still sent as a query parameter until
      the application service ecosystem has fully migrated to using
      headers. In the future this could be made opt-in, or removed
      completely.
      Unverified
      27fa0fa6
  2. Oct 03, 2022
  3. Sep 30, 2022
  4. Sep 29, 2022
  5. Sep 28, 2022
    • Eric Eastwood's avatar
      Limit and filter the number of backfill points to get from the database (#13879) · df8b91ed
      Eric Eastwood authored
      There is no need to grab thousands of backfill points when we only need 5 to make the `/backfill` request with. We need to grab a few extra in case the first few aren't visible in the history.
      
      Previously, we grabbed thousands of backfill points from the database, then sorted and filtered them in the app. Fetching the 4.6k backfill points for `#matrix:matrix.org` from the database takes ~50ms - ~570ms so it's not like this saves a lot of time :shrug:. But it might save us more time now that `get_backfill_points_in_room`/`get_insertion_event_backward_extremities_in_room` are more complicated after https://github.com/matrix-org/synapse/pull/13635 
      
      This PR moves the filtering and limiting to the SQL query so we just have less data to work with in the first place.
      
      Part of https://github.com/matrix-org/synapse/issues/13356
      Unverified
      df8b91ed
    • Shay's avatar
      Unverified
      8ab16a92
    • Shay's avatar
      Prepatory work for batching events to send (#13487) · a2cf66a9
      Shay authored
      This PR begins work on batching up events during the creation of a room. The PR splits out the creation and sending/persisting of the events. The first three events in the creation of the room-creating the room, joining the creator to the room, and the power levels event are sent sequentially, while the subsequent events are created and collected to be sent at the end of the function. This is currently done by appending them to a list and then iterating over the list to send, the next step (after this PR) would be to send and persist the collected events as a batch.
      Unverified
      a2cf66a9
  6. Sep 27, 2022
  7. Sep 26, 2022
  8. Sep 23, 2022
  9. Sep 22, 2022
  10. Sep 21, 2022
  11. Sep 20, 2022
  12. Sep 16, 2022
  13. Sep 15, 2022
  14. Sep 14, 2022
Loading