Skip to content

Commit

Permalink
HAWKULAR-783 - Increased the number of attempts to connect to Cassandra
Browse files Browse the repository at this point in the history
  • Loading branch information
jpkrohling committed Nov 5, 2015
1 parent 1b5bcad commit aee1d12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class CassandraSessionCallable implements Callable<Session> {
private static final String CASSANDRA_RETRY_ATTEMPTS = "hawkular-accounts.cassandra-retry-attempts";
private static final String CASSANDRA_RETRY_INTERVAL = "hawkular-accounts.cassandra-retry-interval";

private static int attempts = Integer.parseInt(System.getProperty(CASSANDRA_RETRY_ATTEMPTS, "5"));
private static int attempts = Integer.parseInt(System.getProperty(CASSANDRA_RETRY_ATTEMPTS, "15"));
private static int interval = Integer.parseInt(System.getProperty(CASSANDRA_RETRY_INTERVAL, "2000"));

@Inject @CassandraPort
Expand Down

0 comments on commit aee1d12

Please sign in to comment.