mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-12-23 02:28:01 +00:00
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
Block a user