Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

reset jmx connection on error so it retries next time around

  • Loading branch information...
commit ceffd78280ca83fc95ab522b48c0f664ef6edf36 1 parent 8ce6fef
Jake Luciani authored
View
2  pom.xml
@@ -4,7 +4,7 @@
<groupId>com.bluemountain</groupId>
<artifactId>riemann-cassandra</artifactId>
- <version>0.0.1-SNAPSHOT</version>
+ <version>0.0.1</version>
<name>Riemann tool for streaming cassandra metrics</name>
<repositories>
View
1  src/main/java/com/bluemountain/RiemannCassandraClient.java
@@ -179,6 +179,7 @@ private void emitMetrics() {
riemannClient.sendEvents(events.toArray(new Event[] {}));
} catch (Throwable t) {
// Try again later
+ jmxClient = null;
t.printStackTrace();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.