Skip to content

Commit

Permalink
Merge pull request #65 from jshaughn/cassandra-retry
Browse files Browse the repository at this point in the history
Increase retry window for cassandra connection
  • Loading branch information
jpkrohling committed Nov 16, 2015
2 parents 3583f50 + 85ee59b commit a02326b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class CassandraSessionCallable implements Callable<Session> {
private static final String CASSANDRA_RETRY_INTERVAL = "hawkular-accounts.cassandra-retry-interval";

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

@Inject @CassandraPort
String cqlPort;
Expand Down

0 comments on commit a02326b

Please sign in to comment.