aboutsummaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-12 13:27:49 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-12 13:27:49 +0000
commitd296cb2e924f92f90e5d7b8084c8e7d3feef0746 (patch)
treed45722cfedcba8dbb2911c4b118ee39afc98ea9f /src/fs
parentae541871fe74151cc3755efa74b668ada4fcb370 (diff)
downloadgnunet-d296cb2e924f92f90e5d7b8084c8e7d3feef0746.tar.gz
gnunet-d296cb2e924f92f90e5d7b8084c8e7d3feef0746.zip
set quota
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/gnunet-service-fs_pr.c6
-rw-r--r--src/fs/gnunet-service-fs_push.c2
-rw-r--r--src/fs/test_gnunet_service_fs_migration_data.conf4
3 files changed, 8 insertions, 4 deletions
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,
249 struct GSF_PendingRequest *pr; 249 struct GSF_PendingRequest *pr;
250 struct GSF_PendingRequest *dpr; 250 struct GSF_PendingRequest *dpr;
251 251
252#if DEBUG_FS > 1 252#if DEBUG_FS
253 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 253 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
254 "Creating request handle for `%s' of type %d\n", 254 "Creating request handle for `%s' of type %d\n",
255 GNUNET_h2s (query), type); 255 GNUNET_h2s (query), type);
@@ -1153,7 +1153,7 @@ process_local_reply (void *cls, const GNUNET_HashCode * key, size_t size,
1153 } 1153 }
1154 if (NULL == key) 1154 if (NULL == key)
1155 { 1155 {
1156#if DEBUG_FS > 1 1156#if DEBUG_FS
1157 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1157 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1158 "No further local responses available.\n"); 1158 "No further local responses available.\n");
1159#endif 1159#endif
@@ -1172,7 +1172,7 @@ process_local_reply (void *cls, const GNUNET_HashCode * key, size_t size,
1172#endif 1172#endif
1173 if (type == GNUNET_BLOCK_TYPE_FS_ONDEMAND) 1173 if (type == GNUNET_BLOCK_TYPE_FS_ONDEMAND)
1174 { 1174 {
1175#if DEBUG_FS > 1 1175#if DEBUG_FS
1176 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 1176 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
1177 "Found ONDEMAND block, performing on-demand encoding\n"); 1177 "Found ONDEMAND block, performing on-demand encoding\n");
1178#endif 1178#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)
410 } 410 }
411#if DEBUG_FS_MIGRATION 411#if DEBUG_FS_MIGRATION
412 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 412 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
413 "Preparing to push best content to peer\n"); 413 "Preparing to push best content to peer %s\n");
414#endif 414#endif
415 transmit_content (mrp, best); 415 transmit_content (mrp, best);
416} 416}
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 @@
3SERVICEHOME = /tmp/test-gnunet-service-fs-migration/ 3SERVICEHOME = /tmp/test-gnunet-service-fs-migration/
4DEFAULTCONFIG = test_gnunet_service_fs_migration_data.conf 4DEFAULTCONFIG = test_gnunet_service_fs_migration_data.conf
5 5
6
7[core]
8TOTAL_QUOTA_IN = 3932160
9TOTAL_QUOTA_OUT = 3932160