You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling Bus::maxSendTries(0) specifies that zero tries are allowed, in other words it means that no communication is allowed. So to me it seems the lib already behaves as expected.
What is the behavior you expect? I can come up with the following options:
Bus::maxSendTries(0) queues the telegram, but never sends or deletes it => 0 in telegrams in total Bus::maxSendTries(1) sends the telegram and 1 repeated => 2 telegrams in total Bus::maxSendTries(2) sends the telegram and 2 repeated => 3 telegrams in total Bus::maxSendTries(3) sends the telegram and 3 repeated => 4 telegrams in total
So i think it better should be renamed to Bus::maxSendRetries() but that doesn't resolve the issue of Bus::maxSendTries(0) sending nothing.
this probably also affects
Bus::maxSendBusyTries(0)
some logging data:
The text was updated successfully, but these errors were encountered: