Skip to content

Commit

Permalink
[HWKMETRICS-478] Change order for reading system configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Negrea committed Sep 30, 2016
1 parent 108c227 commit 0d75f46
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -193,6 +193,8 @@ public void startUp(Session session, String keyspace, boolean resetDb, boolean c

this.metricRegistry = metricRegistry;

initStringSize(session);

dataPointInserters = ImmutableMap
.<MetricType<?>, Func2<? extends Metric<?>, Integer,
Observable<Integer>>>builder()
Expand Down Expand Up @@ -262,7 +264,6 @@ public void startUp(Session session, String keyspace, boolean resetDb, boolean c
.put(STRING, Functions::getStringDataPoint)
.build();

initStringSize(session);
setDefaultTTL(session, keyspace);
initMetrics();
}
Expand Down

0 comments on commit 0d75f46

Please sign in to comment.