Reduce priority of leave-event reprocessing attempt

This commit is contained in:
Aurora Lahtela 2022-08-31 09:10:08 +03:00
parent f14b78dede
commit b3d0828317

View File

@ -75,7 +75,7 @@ public class PlayerLeaveEventConsumer {
Optional<ActiveSession> activeSession = SessionCache.getCachedSession(leave.getPlayerUUID());
if (activeSession.isEmpty() && attempt < 50) {
// Quit event processed before Join event, delay processing
processing.submitCritical(() -> onLeaveGameServer(leave, attempt + 1));
processing.submitNonCritical(() -> onLeaveGameServer(leave, attempt + 1));
return;
}