Allow unlimited reconnections if we make progress

Signed-off-by: Graham <gpe@openrs2.org>
master
Graham 7 months ago
parent 856696a703
commit 3da5bb0786
  1. 6
      archive/src/main/kotlin/org/openrs2/archive/cache/Js5ChannelHandler.kt

@ -254,6 +254,12 @@ public abstract class Js5ChannelHandler(
continuation.resume(Unit)
ctx.close()
} else {
/*
* Reset the number of reconnection attempts as we are making
* progress.
*/
reconnectionAttempts = 0
}
}

Loading…
Cancel
Save