Fix backfill things

This commit is contained in:
Tulir Asokan
2023-04-16 15:35:29 +03:00
parent a0fb4a45d2
commit 587ac68f60
5 changed files with 34 additions and 18 deletions

View File

@@ -187,22 +187,20 @@ bridge:
additional_help: ""
backfill:
# Should backfill be enabled at all?
enabled: false
# Limits for backfilling.
limits:
# Limits for forward backfilling.
forward_limits:
# Initial backfill (when creating portal). 0 means backfill is disabled.
# A special unlimited value is not supported, you must set a limit. Initial backfill will
# fetch all messages first before backfilling anything, so high limits can take a lot of time.
initial:
dm: 50
dm: 0
channel: 0
# Missed message backfill (on startup).
# 0 means backfill is disabled, -1 means fetch all messages since last bridged message.
# When using unlimited backfill (-1), messages are backfilled as they are fetched.
# With limits, all messages up to the limit are fetched first and backfilled afterwards.
missed:
dm: 50
dm: 0
channel: 0
# End-to-bridge encryption support options.