private void validateTotalDelay(List<Step> steps) {
        long totalDelaySeconds = steps.stream().mapToLong(step -> (step.delay().getSeconds())).sum();
        if (totalDelaySeconds > Duration.ofHours(48).getSeconds())
            illegal("The total delay specified is " + Duration.ofSeconds(totalDelaySeconds) +
                    " but max 48 hours is allowed");
    }
Throw an IllegalArgumentException if the total delay exceeds 24 hours
config-model-api/src/main/java/com/yahoo/config/application/api/DeploymentSpec.java