Skip to content

Commit

Permalink
fix(execution windows): allow RestrictExecutionDuringTimeWindow to wa…
Browse files Browse the repository at this point in the history
…it for 7 days
  • Loading branch information
anotherchrisberry committed Apr 4, 2017
1 parent d20fa21 commit 1879679
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -49,8 +49,8 @@ class RestrictExecutionDuringTimeWindow implements StageDefinitionBuilder {
@Component
@VisibleForTesting
private static class SuspendExecutionDuringTimeWindowTask implements RetryableTask {
long backoffPeriod = TimeUnit.MINUTES.toMillis(2)
long timeout = TimeUnit.DAYS.toMillis(2)
long backoffPeriod = TimeUnit.SECONDS.toMillis(30)
long timeout = TimeUnit.DAYS.toMillis(7)

private static final int DAY_START_HOUR = 0
private static final int DAY_START_MIN = 0
Expand Down

0 comments on commit 1879679

Please sign in to comment.