diff options
author | Florian Dold <florian.dold@gmail.com> | 2013-08-13 14:38:35 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2013-08-13 14:38:35 +0000 |
commit | 597dc76d129d291cd9dbe2fbd6914e54ae0ef118 (patch) | |
tree | 86d97a4b89a7bd71729a34d166cd6da5b218322e /src | |
parent | 537b721b1aab58034db49e07cbf4a8e259fd423f (diff) | |
download | gnunet-597dc76d129d291cd9dbe2fbd6914e54ae0ef118.tar.gz gnunet-597dc76d129d291cd9dbe2fbd6914e54ae0ef118.zip |
- reset backoff for set listener
- increase alpha
Diffstat (limited to 'src')
-rw-r--r-- | src/set/gnunet-service-set_union.c | 2 | ||||
-rw-r--r-- | src/set/set_api.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index e9b585f33..161c12190 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c | |||
@@ -45,7 +45,7 @@ | |||
45 | /** | 45 | /** |
46 | * hash num parameter for the difference digests and strata estimators | 46 | * hash num parameter for the difference digests and strata estimators |
47 | */ | 47 | */ |
48 | #define SE_IBF_HASH_NUM 3 | 48 | #define SE_IBF_HASH_NUM 4 |
49 | 49 | ||
50 | /** | 50 | /** |
51 | * Number of buckets that can be transmitted in one message. | 51 | * Number of buckets that can be transmitted in one message. |
diff --git a/src/set/set_api.c b/src/set/set_api.c index 3b287d5a4..56a50af5e 100644 --- a/src/set/set_api.c +++ b/src/set/set_api.c | |||
@@ -322,6 +322,9 @@ handle_request (void *cls, const struct GNUNET_MessageHeader *mh) | |||
322 | /* calling GNUNET_SET_accept in the listen cb will set req->accepted */ | 322 | /* calling GNUNET_SET_accept in the listen cb will set req->accepted */ |
323 | lh->listen_cb (lh->listen_cls, &msg->peer_id, context_msg, req); | 323 | lh->listen_cb (lh->listen_cls, &msg->peer_id, context_msg, req); |
324 | 324 | ||
325 | /* we got another request => reset the backoff */ | ||
326 | lh->reconnect_backoff = GNUNET_TIME_UNIT_MILLISECONDS; | ||
327 | |||
325 | if (GNUNET_NO == req->accepted) | 328 | if (GNUNET_NO == req->accepted) |
326 | { | 329 | { |
327 | struct GNUNET_MQ_Envelope *mqm; | 330 | struct GNUNET_MQ_Envelope *mqm; |