Skip to content

Commit

Permalink
handle resume with rady chan
Browse files Browse the repository at this point in the history
  • Loading branch information
topi314 committed Oct 9, 2023
1 parent 80ccb75 commit 8d8433f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions gateway/gateway_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,12 @@ loop:
return
}

case OpcodeResume:
g.config.Logger.Debug(g.formatLogs("resume successful"))
g.status = StatusReady
readyChan <- nil
close(readyChan)

case OpcodeDispatch:
// set last sequence received
g.config.LastSequenceReceived = &message.S
Expand Down

0 comments on commit 8d8433f

Please sign in to comment.