Don't try to backfill if limit is zero

This commit is contained in:
Tulir Asokan
2022-10-11 16:11:18 +03:00
parent 9b9a3b452d
commit 951d02bfc3
2 changed files with 5 additions and 0 deletions
+3
View File
@@ -355,6 +355,9 @@ bridge:
normal_groups: false
# Forward backfilling limits. These apply to both MSC2716 and legacy backfill.
#
# Using a negative initial limit is not recommended, as it would try to backfill everything in a single batch.
# MSC2716 and the incremental settings are meant for backfilling everything incrementally rather than at once.
forward:
# Number of messages to backfill immediately after creating a portal.
initial_limit: 10