Fix PingServerRunnable scheduling

should be nextPingIn and not pingInterval.
This commit is contained in:
Florian Schmaus 2014-08-20 10:35:45 +02:00
parent 64e49cb934
commit e16997eb9d
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ public class PingManager extends Manager {
int nextPingIn = pingInterval - delta;
LOGGER.fine("Scheduling ServerPingTask in " + nextPingIn + " seconds (pingInterval="
+ pingInterval + ", delta=" + delta + ")");
nextAutomaticPing = executorService.schedule(pingServerRunnable, pingInterval, TimeUnit.SECONDS);
nextAutomaticPing = executorService.schedule(pingServerRunnable, nextPingIn, TimeUnit.SECONDS);
}
}