From: Christian Grothoff Date: Fri, 20 Dec 2013 10:12:26 +0000 (+0000) Subject: -larger delay for Pi X-Git-Tag: initial-import-from-subversion-38251~5270 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=77600464fe42ad72107c10a38aff87f1e04cfce1;p=oweals%2Fgnunet.git -larger delay for Pi --- 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 @@ #define TEST_SHADOW_RECORD_DATA 'b' #define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 100) -#define EXPIRATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 2) +#define EXPIRATION GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 5) static struct GNUNET_NAMESTORE_Handle *nsh; @@ -282,7 +282,7 @@ put_cont (void *cls, int32_t success, const char *emsg) ncqe = GNUNET_NAMECACHE_lookup_block (nch, &derived_hash, &name_lookup_active_proc, &records[0]); - delayed_lookup_task = GNUNET_SCHEDULER_add_delayed (EXPIRATION, &name_lookup_shadow, NULL); + delayed_lookup_task = GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_relative_multiply (EXPIRATION, 2), &name_lookup_shadow, NULL); }