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

Limit the number of events that can be requested when backfilling events #6864

Merged
merged 2 commits into from
Feb 6, 2020

Conversation

clokep
Copy link
Member

@clokep clokep commented Feb 6, 2020

Limits the maximum number of events that can be requested from the backfill events federation API.

The maximum limit was suggested by @erikjohnston to match what Synapse requests when calling this API as a client (see https://github.com/matrix-org/synapse/blob/v1.9.0/synapse/handlers/federation.py#L978-L980).

@clokep clokep requested a review from a team February 6, 2020 15:53
@clokep clokep force-pushed the clokep/backfill-limit branch from eac48a3 to f512857 Compare February 6, 2020 15:56
@clokep clokep force-pushed the clokep/backfill-limit branch from f512857 to 9f16a31 Compare February 6, 2020 16:10
Copy link
Member

@erikjohnston erikjohnston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

changelog.d/6864.misc Outdated Show resolved Hide resolved
Co-Authored-By: Erik Johnston <erik@matrix.org>
@clokep clokep merged commit 7765bf3 into develop Feb 6, 2020
@clokep clokep deleted the clokep/backfill-limit branch February 6, 2020 18:25
babolivier pushed a commit that referenced this pull request Sep 1, 2021
…nts (#6864)

* commit '7765bf398':
  Limit the number of events that can be requested when backfilling events (#6864)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants