core/src/main/java/com/orientechnologies/orient/core/command/script/OCommandExecutorScript.java
protected void waitForNextRetry() {
    try {
      Thread.sleep(new Random().nextInt(MAX_DELAY - 1) + 1);
    } catch (InterruptedException e) {
      OLogManager.instance().error(this, "Wait was interrupted", e);
    }
  }
protected void waitForNextRetry() {
    try {
      Thread.sleep(new Random().nextInt(MAX_DELAY - 1) + 1);
    } catch (InterruptedException e) {
      OLogManager.instance().error(this, "Wait was interrupted", e);
    }
  }
protected void waitForNextRetry ( ) { try { Thread . sleep ( new Random ( ) . nextInt ( MAX_DELAY - 1 ) + 1 ) ; } catch ( InterruptedException e ) { OLogManager . instance ( ) . error ( this , "Wait was interrupted" , e ) ; } }
Wait before to retry
Wait before to retry