mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
bridgev2/backfillqueue: expose DoBackfillTask method
This commit is contained in:
parent
32b2376409
commit
07f0d8836a
1 changed files with 2 additions and 2 deletions
|
|
@ -80,13 +80,13 @@ func (br *Bridge) RunBackfillQueue() {
|
|||
time.Sleep(BackfillQueueErrorBackoff)
|
||||
continue
|
||||
} else if backfillTask != nil {
|
||||
br.doBackfillTask(ctx, backfillTask)
|
||||
br.DoBackfillTask(ctx, backfillTask)
|
||||
noTasksFoundCount = 0
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func (br *Bridge) doBackfillTask(ctx context.Context, task *database.BackfillTask) {
|
||||
func (br *Bridge) DoBackfillTask(ctx context.Context, task *database.BackfillTask) {
|
||||
log := zerolog.Ctx(ctx).With().
|
||||
Object("portal_key", task.PortalKey).
|
||||
Str("login_id", string(task.UserLoginID)).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue