From: Christian Grothoff Date: Sun, 15 Nov 2009 18:53:21 +0000 (+0000) Subject: increase attempt count X-Git-Tag: initial-import-from-subversion-38251~23067 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f89075a856cfc9bf9ad52d0b90e9cc30025a724e;p=oweals%2Fgnunet.git increase attempt count --- diff --git a/src/util/client.c b/src/util/client.c index 6d1c66687..92c79f824 100644 --- a/src/util/client.c +++ b/src/util/client.c @@ -42,7 +42,7 @@ * Note that if we succeeded transmitting a request but failed to read * a response, we do NOT re-try. */ -#define MAX_ATTEMPTS 10 +#define MAX_ATTEMPTS 50 /** @@ -798,7 +798,6 @@ client_notify (void *cls, size_t size, void *buf) GNUNET_assert (NULL != th->sock->sock); GNUNET_CONNECTION_ignore_shutdown (th->sock->sock, th->sock->ignore_shutdown); - delay = GNUNET_TIME_relative_min (delay, th->sock->back_off); th->sock->back_off = GNUNET_TIME_relative_min (GNUNET_TIME_relative_multiply (th->sock->back_off, 2),