=test Reschedule the reconnect when exception caught.
Signed-off-by: He-Pin <hepin1989@gmail.com>
This commit is contained in:
parent
262d485d56
commit
55601c66df
1 changed files with 1 additions and 0 deletions
|
|
@ -352,6 +352,7 @@ private[pekko] class PlayerHandler(
|
|||
cause match {
|
||||
case _: ConnectException if reconnects > 0 =>
|
||||
reconnects -= 1
|
||||
scheduleReconnect()
|
||||
case e => fsm ! ConnectionFailure(e.getMessage)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue