mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-23 04:28:01 +00:00
Correct omission
This commit is contained in:
parent
7c76b245d4
commit
195857a531
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user