diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-05-30 18:47:17 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-05-30 18:47:17 +0200 |
commit | adef29b3ed00afd42669ae35a73951c59f08a41b (patch) | |
tree | c8d6c7f60716c551b587aed7a1efe0d6e756833f /src/gns | |
parent | f5a18b7466f342ac9624adcdb65f104aef8ecb5e (diff) | |
download | gnunet-adef29b3ed00afd42669ae35a73951c59f08a41b.tar.gz gnunet-adef29b3ed00afd42669ae35a73951c59f08a41b.zip |
add proximity considerations to datacache
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/gnunet-gns-benchmark.c | 2 | ||||
-rw-r--r-- | src/gns/gnunet-service-gns_resolver.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-gns-benchmark.c b/src/gns/gnunet-gns-benchmark.c index 0ab6cefd5..414c84495 100644 --- a/src/gns/gnunet-gns-benchmark.c +++ b/src/gns/gnunet-gns-benchmark.c | |||
@@ -294,7 +294,7 @@ process_queue (void *cls) | |||
294 | active_cnt); | 294 | active_cnt); |
295 | req->lr = GNUNET_GNS_lookup_with_tld (gns, | 295 | req->lr = GNUNET_GNS_lookup_with_tld (gns, |
296 | req->hostname, | 296 | req->hostname, |
297 | GNUNET_GNSRECORD_TYPE_ANY, | 297 | GNUNET_GNSRECORD_TYPE_GNS2DNS, |
298 | GNUNET_GNS_LO_DEFAULT, | 298 | GNUNET_GNS_LO_DEFAULT, |
299 | &process_result, | 299 | &process_result, |
300 | req); | 300 | req); |
diff --git a/src/gns/gnunet-service-gns_resolver.c b/src/gns/gnunet-service-gns_resolver.c index 8b20f2ae3..0d04fc6b9 100644 --- a/src/gns/gnunet-service-gns_resolver.c +++ b/src/gns/gnunet-service-gns_resolver.c | |||
@@ -60,7 +60,7 @@ | |||
60 | /** | 60 | /** |
61 | * DHT replication level | 61 | * DHT replication level |
62 | */ | 62 | */ |
63 | #define DHT_GNS_REPLICATION_LEVEL 5 | 63 | #define DHT_GNS_REPLICATION_LEVEL 10 |
64 | 64 | ||
65 | /** | 65 | /** |
66 | * How deep do we allow recursions to go before we abort? | 66 | * How deep do we allow recursions to go before we abort? |