Fork me on GitHub
#onyx
<
2018-07-29
>
sparkofreason14:07:36

@lellis I set :lifecycle/handle-exception to return :restart.

👍 4
sparkofreason14:07:28

@lucasbradstreet Thanks, I'll check into that. In the meantime, looks like I could use the onyx-peer-http-query to set up a liveness check in k8s, getting k8s to restart the peer if the /health endpoint returns a 500. Presumably if I catch "bad" latency early enough, recycling the peer will allow the job to keep running.

sparkofreason15:07:13

Any thoughts on choice of threshold?