On 3 Jan 2014, at 7:48 am, Pieter Hintjens <[email protected]> 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 <[email protected]> 
> 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

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to