mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2026-04-07 23:50:27 +00:00
Correct omission
This commit is contained in:
@@ -236,7 +236,7 @@ public final class RedisBungee extends Plugin {
|
|||||||
if (pool != null) {
|
if (pool != null) {
|
||||||
Jedis tmpRsc = pool.getResource();
|
Jedis tmpRsc = pool.getResource();
|
||||||
try {
|
try {
|
||||||
tmpRsc.hset("heartbeats", serverId, String.valueOf(System.currentTimeMillis()));
|
tmpRsc.hset("heartbeats", serverId, String.valueOf(System.nanoTime()));
|
||||||
} finally {
|
} finally {
|
||||||
pool.returnResource(tmpRsc);
|
pool.returnResource(tmpRsc);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user