Fork me on GitHub
#onyx
<
2019-06-21
>
kszabo12:06:17

hey, I have a start-task? lifecycle that takes a long time but it eventually returns true. I can see Onyx retry it periodically. How can I increase this period on a / job basis?

kszabo13:06:33

:onyx.peer/subscriber-liveness-timeout-ms
            {:doc "Number of ms between heartbeats before a subscriber is determined to be dead."
             :type :integer
             :unit :millisecond
             :default 60000
             :optional? true
             :added "0.10.0"}

            :onyx.peer/publisher-liveness-timeout-ms
            {:doc "Number of ms between heartbeats before a publisher is determined to be dead."
             :type :integer
             :unit :millisecond
             :default 60000
             :optional? true
:added "0.10.0"}

kszabo13:06:45

these were the settings I was looking for as I was seeing restarts every minute

kszabo13:06:31

and I see it’s not configurable currently via :job-config