diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-20 10:12:26 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-20 10:12:26 +0000 |
commit | 77600464fe42ad72107c10a38aff87f1e04cfce1 (patch) | |
tree | 7a4fb7bdab51aab2b32ddc42a98e550ec74cce2f /src/namestore/test_namestore_api_lookup_shadow_filter.c | |
parent | bdf28da4479c00fb647a5cfa038a4da4457954ca (diff) | |
download | gnunet-77600464fe42ad72107c10a38aff87f1e04cfce1.tar.gz gnunet-77600464fe42ad72107c10a38aff87f1e04cfce1.zip |
-larger delay for Pi
Diffstat (limited to 'src/namestore/test_namestore_api_lookup_shadow_filter.c')
-rw-r--r-- | src/namestore/test_namestore_api_lookup_shadow_filter.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/namestore/test_namestore_api_lookup_shadow_filter.c b/src/namestore/test_namestore_api_lookup_shadow_filter.c index 4a5a2c422..b7d04b143 100644 --- a/src/namestore/test_namestore_api_lookup_shadow_filter.c +++ b/src/namestore/test_namestore_api_lookup_shadow_filter.c | |||
@@ -36,7 +36,7 @@ | |||
36 | #define TEST_SHADOW_RECORD_DATA 'b' | 36 | #define TEST_SHADOW_RECORD_DATA 'b' |
37 | 37 | ||
38 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100) | 38 | #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100) |
39 | #define EXPIRATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 2) | 39 | #define EXPIRATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) |
40 | 40 | ||
41 | static struct GNUNET_NAMESTORE_Handle *nsh; | 41 | static struct GNUNET_NAMESTORE_Handle *nsh; |
42 | 42 | ||
@@ -282,7 +282,7 @@ put_cont (void *cls, int32_t success, const char *emsg) | |||
282 | ncqe = GNUNET_NAMECACHE_lookup_block (nch, &derived_hash, | 282 | ncqe = GNUNET_NAMECACHE_lookup_block (nch, &derived_hash, |
283 | &name_lookup_active_proc, &records[0]); | 283 | &name_lookup_active_proc, &records[0]); |
284 | 284 | ||
285 | delayed_lookup_task = GNUNET_SCHEDULER_add_delayed (EXPIRATION, &name_lookup_shadow, NULL); | 285 | delayed_lookup_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply (EXPIRATION, 2), &name_lookup_shadow, NULL); |
286 | } | 286 | } |
287 | 287 | ||
288 | 288 | ||