missed location were it wasn't using the constant
This commit is contained in:
parent
ddfc689c2d
commit
a9ea04c2c0
|
@ -67,7 +67,7 @@ public interface RedisBungeePlugin<P> extends EventsPlatform {
|
|||
String v = stringStringEntry.getValue();
|
||||
|
||||
long heartbeatTime = Long.parseLong(v);
|
||||
if (heartbeatTime + 30 >= redisTime) {
|
||||
if (heartbeatTime + RedisUtil.PROXY_TIMEOUT >= redisTime) {
|
||||
total = total + unifiedJedis.scard("proxy:" + k + ":usersOnline");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue