Browse Source

only one try at ansible, key won't work after that anyway

tags/v0.8.0
Jonathan Cobb 4 years ago
parent
commit
e1982ca277
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bubble-server/src/main/java/bubble/service/cloud/StandardNetworkService.java

+ 1
- 1
bubble-server/src/main/java/bubble/service/cloud/StandardNetworkService.java View File

@@ -86,7 +86,7 @@ public class StandardNetworkService implements NetworkService {
public static final List<String> BUBBLE_SCRIPTS = splitAndTrim(stream2string(ANSIBLE_DIR + "/bubble_scripts.txt"), "\n")
.stream().filter(s -> !empty(s)).collect(Collectors.toList());

public static final int MAX_ANSIBLE_TRIES = 5;
public static final int MAX_ANSIBLE_TRIES = 1;
public static final int RESTORE_KEY_LEN = 6;

private static final long NET_LOCK_TIMEOUT = MINUTES.toMillis(21);


Loading…
Cancel
Save