diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-04-30 10:55:26 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-04-30 10:55:26 +0200 |
commit | 7fef1456bd44bacaf5aa927c89282a31e89bdcf7 (patch) | |
tree | 4718a868fe624a2d7a78f580f33f5f4bf0d6ab1a /src/dht | |
parent | bdf8e76fc9b72f2000e33f479a15919811a5f312 (diff) | |
download | gnunet-7fef1456bd44bacaf5aa927c89282a31e89bdcf7.tar.gz gnunet-7fef1456bd44bacaf5aa927c89282a31e89bdcf7.zip |
enable more parallelism with DHT queue, but limit to 1000 entries, then kill hard
Diffstat (limited to 'src/dht')
-rw-r--r-- | src/dht/dht_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dht/dht_api.c b/src/dht/dht_api.c index 42ddc7b60..7a0771de0 100644 --- a/src/dht/dht_api.c +++ b/src/dht/dht_api.c | |||
@@ -1028,8 +1028,8 @@ GNUNET_DHT_put (struct GNUNET_DHT_Handle *handle, | |||
1028 | put_msg->expiration = GNUNET_TIME_absolute_hton (exp); | 1028 | put_msg->expiration = GNUNET_TIME_absolute_hton (exp); |
1029 | put_msg->key = *key; | 1029 | put_msg->key = *key; |
1030 | GNUNET_memcpy (&put_msg[1], | 1030 | GNUNET_memcpy (&put_msg[1], |
1031 | data, | 1031 | data, |
1032 | size); | 1032 | size); |
1033 | GNUNET_MQ_send (handle->mq, | 1033 | GNUNET_MQ_send (handle->mq, |
1034 | env); | 1034 | env); |
1035 | return ph; | 1035 | return ph; |