Skip to content

Commit

Permalink
correct spelling of timeout, add examples of backoff config to sample…
Browse files Browse the repository at this point in the history
… config file
  • Loading branch information
Michael Graff committed Nov 14, 2017
1 parent 0fb0677 commit bf28136
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class AtlasConfigurationProperties {

@Getter
@Setter
private int stageTimoutMinutes = 3;
private int stageTimeoutMinutes = 3;

@Getter
private List<AtlasManagedAccount> accounts = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public long getBackoffPeriod() {

@Override
public long getTimeout() {
return Duration.ofMinutes(atlasConfigurationProperties.getStageTimoutMinutes()).toMillis();
return Duration.ofMinutes(atlasConfigurationProperties.getStageTimeoutMinutes()).toMillis();
}

@Override
Expand Down
2 changes: 2 additions & 0 deletions kayenta-web/src/main/resources/kayenta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ server:
kayenta:
atlas:
enabled: false
# stageTimeoutMinutes: 3
# maxBackoffPeriodSeconds: 30
# accounts:
# - name:
# endpoint:
Expand Down

0 comments on commit bf28136

Please sign in to comment.