Fixed bug where server wasn't being unregistered from discovery server

- Added missing unregister() method call

Tags: #story[1281]
This commit is contained in:
Michael Rausch
2017-09-28 15:16:37 +13:00
parent e56d284792
commit 8810554ce9
3 changed files with 4 additions and 2 deletions
@@ -19,7 +19,7 @@ import java.util.Timer;
import java.util.TimerTask;
public class DiscoveryServerClient {
private final Integer UPDATE_INTERVAL_MS = 1000;
private final Integer UPDATE_INTERVAL_MS = 700;
private static String roomCode = null;
private Timer serverListingUpdateTimer;
@@ -1,7 +1,7 @@
package seng302.discoveryServer.util;
public class ServerListing {
public final static int SERVER_TTL_DEFAULT = 3;
public final static int SERVER_TTL_DEFAULT = 5;
private String serverName = "";
private String mapName = "";