Skip to content
Snippets Groups Projects
  1. Nov 03, 2021
  2. Aug 05, 2021
  3. Jun 17, 2021
  4. Jun 07, 2021
    • 14mRh4X0r's avatar
      Always update AS last_pos, even on no events (#10107) · 8942e23a
      14mRh4X0r authored
      
      Fixes #1834.
      
      `get_new_events_for_appservice` internally calls `get_events_as_list`, which will filter out any rejected events. If all returned events are filtered out, `_notify_interested_services` will return without updating the last handled stream position. If there are 100 consecutive such events, processing will halt altogether.
      
      Breaking the loop is now done by checking whether we're up-to-date with `current_max` in the loop condition, instead of relying on an empty `events` list.
      
      
      Signed-off-by: default avatarWillem Mulder <14mRh4X0r@gmail.com>
      8942e23a
  5. Apr 14, 2021
  6. Apr 09, 2021
  7. Feb 16, 2021
  8. Oct 26, 2020
    • Erik Johnston's avatar
      Start fewer opentracing spans (#8640) · 2b7c1808
      Erik Johnston authored
      #8567 started a span for every background process. This is good as it means all Synapse code that gets run should be in a span (unless in the sentinel logging context), but it means we generate about 15x the number of spans as we did previously.
      
      This PR attempts to reduce that number by a) not starting one for send commands to Redis, and b) deferring starting background processes until after we're sure they're necessary.
      
      I don't really know how much this will help.
      2b7c1808
  9. Oct 14, 2020
    • Erik Johnston's avatar
      Fix not sending events over federation when using sharded event persisters (#8536) · 921a3f8a
      Erik Johnston authored
      * Fix outbound federaion with multiple event persisters.
      
      We incorrectly notified federation senders that the minimum persisted
      stream position had advanced when we got an `RDATA` from an event
      persister.
      
      Notifying of federation senders already correctly happens in the
      notifier, so we just delete the offending line.
      
      * Change some interfaces to use RoomStreamToken.
      
      By enforcing use of `RoomStreamTokens` we make it less likely that
      people pass in random ints that they got from somewhere random.
      921a3f8a
  10. Aug 07, 2020
  11. Jul 30, 2020
  12. Jul 06, 2020
  13. Aug 10, 2018
  14. Jul 09, 2018
  15. Apr 11, 2018
  16. Nov 02, 2017
  17. Aug 18, 2016
  18. Aug 17, 2016
  19. May 31, 2016
  20. Feb 19, 2016
  21. Jan 07, 2016
  22. Jun 17, 2015
  23. Mar 09, 2015
  24. Feb 05, 2015
  25. Feb 04, 2015
Loading