sleep
This commit is contained in:
@@ -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++;
|
||||||
|
|||||||
Reference in New Issue
Block a user