From: Christian Grothoff Date: Wed, 12 Oct 2011 13:27:49 +0000 (+0000) Subject: set quota X-Git-Tag: initial-import-from-subversion-38251~16594 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d296cb2e924f92f90e5d7b8084c8e7d3feef0746;p=oweals%2Fgnunet.git set quota --- diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c index dd59170a2..ede9ef0f5 100644 --- a/src/fs/gnunet-service-fs_pr.c +++ b/src/fs/gnunet-service-fs_pr.c @@ -249,7 +249,7 @@ GSF_pending_request_create_ (enum GSF_PendingRequestOptions options, struct GSF_PendingRequest *pr; struct GSF_PendingRequest *dpr; -#if DEBUG_FS > 1 +#if DEBUG_FS GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Creating request handle for `%s' of type %d\n", GNUNET_h2s (query), type); @@ -1153,7 +1153,7 @@ process_local_reply (void *cls, const GNUNET_HashCode * key, size_t size, } if (NULL == key) { -#if DEBUG_FS > 1 +#if DEBUG_FS GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "No further local responses available.\n"); #endif @@ -1172,7 +1172,7 @@ process_local_reply (void *cls, const GNUNET_HashCode * key, size_t size, #endif if (type == GNUNET_BLOCK_TYPE_FS_ONDEMAND) { -#if DEBUG_FS > 1 +#if DEBUG_FS GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Found ONDEMAND block, performing on-demand encoding\n"); #endif diff --git a/src/fs/gnunet-service-fs_push.c b/src/fs/gnunet-service-fs_push.c index 515446117..6c9a4d45f 100644 --- a/src/fs/gnunet-service-fs_push.c +++ b/src/fs/gnunet-service-fs_push.c @@ -410,7 +410,7 @@ find_content (struct MigrationReadyPeer *mrp) } #if DEBUG_FS_MIGRATION GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "Preparing to push best content to peer\n"); + "Preparing to push best content to peer %s\n"); #endif transmit_content (mrp, best); } diff --git a/src/fs/test_gnunet_service_fs_migration_data.conf b/src/fs/test_gnunet_service_fs_migration_data.conf index 93a48715c..ad6b7a2db 100644 --- a/src/fs/test_gnunet_service_fs_migration_data.conf +++ b/src/fs/test_gnunet_service_fs_migration_data.conf @@ -3,3 +3,7 @@ SERVICEHOME = /tmp/test-gnunet-service-fs-migration/ DEFAULTCONFIG = test_gnunet_service_fs_migration_data.conf + +[core] +TOTAL_QUOTA_IN = 3932160 +TOTAL_QUOTA_OUT = 3932160