Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Rate limit joins per-room #13276

Merged
merged 11 commits into from
Jul 19, 2022
Merged

Rate limit joins per-room #13276

merged 11 commits into from
Jul 19, 2022

Commits on Jul 14, 2022

  1. Define config for room-level join limiter

    but don't use it in tests
    David Robertson committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    dc53a71 View commit details
    Browse the repository at this point in the history
  2. Room member: drive-by-comment

    David Robertson committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    fb10345 View commit details
    Browse the repository at this point in the history
  3. Replication: include outlier in event rows

    Warn about replication problem in upgrade notes
    David Robertson committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    844b30c View commit details
    Browse the repository at this point in the history
  4. Update rate limiter when we persist a join event

    David Robertson committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    e146c6c View commit details
    Browse the repository at this point in the history
  5. Snoop on replication to learn about joins on other workers

    David Robertson committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    78d5d1d View commit details
    Browse the repository at this point in the history
  6. Test cases

    David Robertson committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    733fe78 View commit details
    Browse the repository at this point in the history
  7. Fix unit tests by changing test-wide defaults

    - FederatingHomeserverTestCase: keys last 10x longer
    
      I am guessing that this is the first example of a test which calls
      `make_signed_federation_request` after the reactor has advanced by >=
      1 second until now.
    
    - Increase max_request_body_size to 4KB in tests
    
      The previous limit prevented the master from accepting some
      replication requests which were 1.3kB in size.
    David Robertson committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    bc005c3 View commit details
    Browse the repository at this point in the history
  8. Changelog

    David Robertson committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    83ec1a1 View commit details
    Browse the repository at this point in the history
  9. Correct version numbers in upgrade notes

    David Robertson committed Jul 14, 2022
    Configuration menu
    Copy the full SHA
    b5c05a5 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. Merge remote-tracking branch 'origin/develop' into dmr/ratelimit/join…

    …s-v2
    David Robertson committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    437ffe5 View commit details
    Browse the repository at this point in the history
  2. bump query counts

    David Robertson committed Jul 19, 2022
    Configuration menu
    Copy the full SHA
    6ef9778 View commit details
    Browse the repository at this point in the history