From 195857a531b75fa9bdbd254a04ff28bb4ff70991 Mon Sep 17 00:00:00 2001 From: Tux Date: Fri, 17 Apr 2015 16:35:04 -0400 Subject: [PATCH] Correct omission --- .../com/imaginarycode/minecraft/redisbungee/RedisBungee.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java index 1e5fe59..3bf3ef1 100644 --- a/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java +++ b/src/main/java/com/imaginarycode/minecraft/redisbungee/RedisBungee.java @@ -236,7 +236,7 @@ public final class RedisBungee extends Plugin { if (pool != null) { Jedis tmpRsc = pool.getResource(); try { - tmpRsc.hset("heartbeats", serverId, String.valueOf(System.currentTimeMillis())); + tmpRsc.hset("heartbeats", serverId, String.valueOf(System.nanoTime())); } finally { pool.returnResource(tmpRsc); }