set quota
authorChristian Grothoff <christian@grothoff.org>
Wed, 12 Oct 2011 13:27:49 +0000 (13:27 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 12 Oct 2011 13:27:49 +0000 (13:27 +0000)
src/fs/gnunet-service-fs_pr.c
src/fs/gnunet-service-fs_push.c
src/fs/test_gnunet_service_fs_migration_data.conf

index dd59170a2531c43494c6b54b8cea13e915e75a2c..ede9ef0f5e5ceb929a8a90a5437cd85c3e3a3d00 100644 (file)
@@ -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
index 515446117a61619f93321a05565aa415b15d6c14..6c9a4d45f2a5ca6e76f50a548c4dc37dac5531d7 100644 (file)
@@ -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);
 }
index 93a48715c1101eb8ff741ff7239f8812b9d9abb2..ad6b7a2db99be0567fde568f894a91d7f3b42aed 100644 (file)
@@ -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