mirror of
https://github.com/michaelrausch/Party-Parrots-At-Sea.git
synced 2026-05-09 14:28:43 +00:00
Fixed bug where server wasn't being unregistered from discovery server
- Added missing unregister() method call Tags: #story[1281]
This commit is contained in:
@@ -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 = "";
|
||||
|
||||
Reference in New Issue
Block a user