Retry less aggressively while waiting for host provisioning
@@ -248,7 +248,9 @@ public class InternalStepRunner implements StepRunner {
}
case LOAD_BALANCER_NOT_READY, PARENT_HOST_NOT_READY -> {
logger.log(e.message()); // Consider splitting these messages in summary and details, on config server.
- controller.jobController().locked(id, run -> run.sleepingUntil(startTime.plusSeconds(300)));
+ Instant someTimeAfterStart = startTime.plusSeconds(450);
+ Instant inALittleWhile = controller.clock().instant().plusSeconds(90);
+ controller.jobController().locked(id, run -> run.sleepingUntil(someTimeAfterStart.isAfter(inALittleWhile) ? someTimeAfterStart : inALittleWhile));
return result;
}
case NODE_ALLOCATION_FAILURE -> {
