We have EXPONENTIAL_BACKOFF as default forever (
8c47de7, 2.1.1c,
2010). Remove the other code path that is dead code.
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <
20220422142953.
3805364-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/search?l=mid&q=
20220422142953.
3805364-1-arne@rfc2549.org
Signed-off-by: Gert Doering <gert@greenie.muc.de>
}
if (best)
{
-#ifdef EXPONENTIAL_BACKOFF
/* exponential backoff */
best->next_try = local_now + best->timeout;
best->timeout *= 2;
-#else
- /* constant timeout, no backoff */
- best->next_try = local_now + best->timeout;
-#endif
best->n_acks = 0;
*opcode = best->opcode;
dmsg(D_REL_DEBUG, "ACK reliable_send ID " packet_id_format " (size=%d to=%d)",
* @{ */
-#define EXPONENTIAL_BACKOFF
-
#define RELIABLE_ACK_SIZE 8 /**< The maximum number of packet IDs
* waiting to be acknowledged which can
* be stored in one \c reliable_ack