Skip to content

Commit

Permalink
Change number of retries to 3 (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafał Leszko committed Aug 11, 2020
1 parent bcd0c02 commit 059edac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/hazelcast/gcp/GcpClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
class GcpClient {
private static final ILogger LOGGER = Logger.getLogger(GcpDiscoveryStrategy.class);

private static final int RETRIES = 10;
private static final int RETRIES = 3;
private static final List<String> NON_RETRYABLE_KEYWORDS = asList("Private key json file not found",
"Request had insufficient authentication scopes", "Required 'compute.instances.list' permission");

Expand Down

0 comments on commit 059edac

Please sign in to comment.