Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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
2  pom.xml
View
@@ -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>
1  src/main/java/com/bluemountain/RiemannCassandraClient.java
View
@@ -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.