mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-23 04:28:01 +00:00
Fix player counts sometimes showing invalid numbers
This commit is contained in:
parent
8a83a525a8
commit
150fbf5600
@ -54,7 +54,7 @@ public final class RedisBungee extends Plugin {
|
|||||||
private DataManager dataManager;
|
private DataManager dataManager;
|
||||||
@Getter
|
@Getter
|
||||||
private static OkHttpClient httpClient;
|
private static OkHttpClient httpClient;
|
||||||
private List<String> serverIds;
|
private volatile List<String> serverIds;
|
||||||
private final AtomicInteger nagAboutServers = new AtomicInteger();
|
private final AtomicInteger nagAboutServers = new AtomicInteger();
|
||||||
private ScheduledTask integrityCheck;
|
private ScheduledTask integrityCheck;
|
||||||
private ScheduledTask heartbeatTask;
|
private ScheduledTask heartbeatTask;
|
||||||
|
Loading…
Reference in New Issue
Block a user