From 3814b7980a4ed1117be9659a3d10fa49cb4c16e9 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 25 Mar 2011 19:36:58 +0000 Subject: [PATCH] fixes --- src/fs/gnunet-service-fs_pr.c | 8 ++++++-- src/fs/test_fs_namespace_data.conf | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index b022cc23f..1290def4d 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c @@ -1083,8 +1083,12 @@ GSF_local_lookup_ (struct GSF_PendingRequest *pr, pr->public_data.type == GNUNET_BLOCK_TYPE_FS_DBLOCK ? GNUNET_BLOCK_TYPE_ANY : pr->public_data.type, - 1 /* queue priority */, - 1 /* max queue size */, + (0 != (GSF_PRO_PRIORITY_UNLIMITED & pr->public_data.options)) + ? UINT_MAX + : 1 /* queue priority */, + (0 != (GSF_PRO_PRIORITY_UNLIMITED & pr->public_data.options)) + ? UINT_MAX + : 1 /* max queue size */, GNUNET_TIME_UNIT_FOREVER_REL, &process_local_reply, pr); diff --git a/src/fs/test_fs_namespace_data.conf b/src/fs/test_fs_namespace_data.conf index 42c1f430b..f1379fea1 100644 --- a/src/fs/test_fs_namespace_data.conf +++ b/src/fs/test_fs_namespace_data.conf @@ -37,7 +37,9 @@ HOSTNAME = localhost PORT = 42471 HOSTNAME = localhost IDENTITY_DIR = $SERVICEHOME/pseudos/ -DEBUG = YES +# DEBUG = YES +CONTENT_CACHING = NO +CONTENT_PUSHING = NO [testing] WEAKRANDOM = YES -- 2.25.1