[zeromq-dev] Heartbeating using TCP keepalives
Matt Connolly
matt.connolly at me.com
Fri Jan 3 00:18:02 CET 2014
On 3 Jan 2014, at 7:48 am, Pieter Hintjens <ph at imatix.com> wrote:
> Seconds is fine for this case but surprising overall since all other
> durations in the API are in msec.
>
> I'm not sure what you mean about backwards compatibility.
>
> On Thu, Jan 2, 2014 at 7:55 PM, Alex Grönholm <alex.gronholm at nextday.fi> wrote:
>> 02.01.2014 15:59, Pieter Hintjens kirjoitti:
>>> It makes sense, and I'd try this; the timeout should be in msec, to be
>>> consistent with other duration arguments. You can take any of the
>>> existing socket options like ZMQ_SNDBUF as a template, and make a pull
>>> request.
>> Wouldn't it be enough to document that the values are expressed in
>> seconds and not ms?
For my two cents, I’d prefer all “time” measurements in an API to be in consistent units.
-Matt
More information about the zeromq-dev
mailing list