mirror of
https://github.com/element-hq/synapse.git
synced 2026-04-25 15:22:17 +00:00
Fix docstring for limit argument in _maybe_backfill_inner(...) (#19630)
Incorrectly labeled in https://github.com/matrix-org/synapse/pull/13535. `maybe_backfill` already accurately describes `limit` (introduced in https://github.com/matrix-org/synapse/pull/8349) Spotted in https://github.com/element-hq/synapse/pull/19611#discussion_r3011259710
This commit is contained in:
1
changelog.d/19630.misc
Normal file
1
changelog.d/19630.misc
Normal file
@@ -0,0 +1 @@
|
||||
Fix docstring for `limit` argument in `_maybe_backfill_inner(...)`.
|
||||
@@ -242,7 +242,9 @@ class FederationHandler:
|
||||
Args:
|
||||
room_id: The room to backfill in.
|
||||
current_depth: The depth to check at for any upcoming backfill points.
|
||||
limit: The max number of events to request from the remote federated server.
|
||||
limit: The number of events that the pagination request will
|
||||
return. This is used as part of the heuristic to decide if we
|
||||
should back paginate.
|
||||
processing_start_time: The time when `maybe_backfill` started processing.
|
||||
Only used for timing. If `None`, no timing observation will be made.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user