-
I am seeking a bit of clarification on the "reliable" properties of the req protocol. I had originally read the documentation of
as "re-send upon reconnection is independent of the So my question is: Is the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You may in fact set the |
Beta Was this translation helpful? Give feedback.
You may in fact set the
NNG_OPT_REQ_RESENDTIME
to infinite, but an even better solution is to set it to 0. Setting it to zero does in fact eliminate the need for the request to be idempotent, and there are some optimizations done for 0 that won't be done for infinite time. (In particular, we won't bother setting a timer, etc.). So yes, recommendation is to to set to 0 for the behavior you want.