From: Christian Grothoff Date: Fri, 25 Mar 2011 19:36:58 +0000 (+0000) Subject: fixes X-Git-Tag: initial-import-from-subversion-38251~18898 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3814b7980a4ed1117be9659a3d10fa49cb4c16e9;p=oweals%2Fgnunet.git fixes --- 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