Kyle Kingsbury
Kyle Kingsbury
I wonder if it's cuz the version of Antlr we depend on is older. Can you add a failing test perhaps? Or try bumping the antlr version in project.clj?
Aw, I'm sorry bout that. I wish I had time to dig in there and fix this for you right now!
Soooo, this is kind of an interesting question. Right now, you can pick arbitrary timeouts for a write simply by choosing the timescale for deref(), but it may also make...
Yeah, I tend to instrument on 1 or 5-second interval, so 10s is already stale. ;-) I'll have to dig into the source and see whether WriteTimeout does anything right...
Yeah, could you shoot me a PR for this? I'm, like, incredibly backlogged right now and haven't had good internet, but that'll make sure I get around to reviewing/merging. :)
Reconnects have been automatic for 2 years or so, IIRC. On May 2, 2016 7:26 PM, Eric Lindvall [email protected] wrote:With the current state of the library, what is the correct...
Ah, the joys of the JVM, where getLocalHost makes a call to the DNS resolver, which, on EC2, means a bloody network call. So we work around this in Riemann...
It does automatically reconnect, but it looks like you might be missing a call to client.connect in the first place?
Use http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Proxy.html at client initialization time to construct a proxy for promises here: https://github.com/aphyr/riemann-java-client/blob/master/src/main/java/com/aphyr/riemann/client/Promise.java Remove IDeref from the inheritance chain of IPromise: https://github.com/aphyr/riemann-java-client/blob/master/src/main/java/com/aphyr/riemann/client/IPromise.java
Yeah, Java 6 was EOLed several years ago; should probably flag everything as 7+.