mirror of
https://github.com/proxiodev/RedisBungee.git
synced 2024-11-23 04:28:01 +00:00
Revert "Correct omission"
This reverts commit 195857a531
.
Conflicts:
src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java
This commit is contained in:
parent
807e71e566
commit
1c12aec718
@ -230,7 +230,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", configuration.getServerId(), String.valueOf(System.nanoTime()));
|
tmpRsc.hset("heartbeats", configuration.getServerId(), String.valueOf(System.currentTimeMillis()));
|
||||||
} finally {
|
} finally {
|
||||||
pool.returnResource(tmpRsc);
|
pool.returnResource(tmpRsc);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user