missed location were it wasn't using the constant

This commit is contained in:
mohammed jasem alaajel 2022-11-24 01:41:47 +04:00
parent ddfc689c2d
commit a9ea04c2c0
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}
}