Skip to content

Commit

Permalink
yegor256#1906 shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Mar 1, 2024
1 parent a836d9e commit de02a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/rultor/agents/aws/PingsInstance.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public Iterable<Directive> process(final XML xml) throws IOException {
instance, host, name, attempt, ex.getMessage()
);
++attempt;
if (attempt > 5) {
if (attempt > 3) {
dirs.xpath("/talk/daemon").remove();
Logger.warn(
this, "The AWS instance %s is officially dead at %s",
Expand Down

0 comments on commit de02a9d

Please sign in to comment.