Skip to content

Commit

Permalink
bridge/start: actually run IPC loop
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <sumner@beeper.com>
  • Loading branch information
sumnerevans committed Aug 6, 2023
1 parent a6ded37 commit 9cc6c34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,10 @@ func (br *IMBridge) Start() {
br.user.initDoublePuppet()

// If this bridge is in OnlyBackfill mode, then only run the backfill
// queue, and not the new message listeners.
// queue and the IPC listener, and not the new message listeners.
if br.Config.Bridge.Backfill.OnlyBackfill {
br.ZLog.Debug().Msg("Starting IPC loop")
go br.IPC.Loop()
br.user.runOnlyBackfillMode()
return
}
Expand Down

0 comments on commit 9cc6c34

Please sign in to comment.