sleep
This commit is contained in:
@@ -120,6 +120,7 @@ public class CalculatePairs {
|
|||||||
while (jedis.ping() == "PONG") {
|
while (jedis.ping() == "PONG") {
|
||||||
log.info("wait");
|
log.info("wait");
|
||||||
}
|
}
|
||||||
|
Thread.sleep(Integer.valueOf(serverWait));
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user