This commit is contained in:
Anil Koyuncu
2018-04-05 14:57:34 +02:00
parent 4c5570dd05
commit deaa2f9364
@@ -112,7 +112,7 @@ public class CalculatePairs {
while (jedis.ping() == "PONG") { while (jedis.ping() == "PONG") {
log.info("wait"); log.info("wait");
} }
Thread.sleep(Integer.valueOf(serverWait));
Files.copy(dbPath.toPath(), savePath.toPath(), StandardCopyOption.REPLACE_EXISTING); Files.copy(dbPath.toPath(), savePath.toPath(), StandardCopyOption.REPLACE_EXISTING);
fileCounter++; fileCounter++;