summaryrefslogtreecommitdiff
path: root/src/fs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs')
-rw-r--r--src/fs/fs_test_lib_data.conf6
-rw-r--r--src/fs/gnunet-service-fs_pr.c4
-rw-r--r--src/fs/test_fs_defaults.conf6
-rw-r--r--src/fs/test_gnunet_service_fs_migration_data.conf6
4 files changed, 12 insertions, 10 deletions
diff --git a/src/fs/fs_test_lib_data.conf b/src/fs/fs_test_lib_data.conf
index 957dc6859..e6c2abd3a 100644
--- a/src/fs/fs_test_lib_data.conf
+++ b/src/fs/fs_test_lib_data.conf
@@ -2,9 +2,9 @@
[PATHS]
SERVICEHOME = /tmp/gnunet-fs-test-lib/
-[core]
-TOTAL_QUOTA_IN = 3932160
-TOTAL_QUOTA_OUT = 3932160
+[ats]
+WAN_QUOTA_IN = 3932160
+WAN_QUOTA_OUT = 3932160
[datastore]
QUOTA = 2 GB
diff --git a/src/fs/gnunet-service-fs_pr.c b/src/fs/gnunet-service-fs_pr.c
index d382e1f93..e6add21b9 100644
--- a/src/fs/gnunet-service-fs_pr.c
+++ b/src/fs/gnunet-service-fs_pr.c
@@ -1587,13 +1587,13 @@ GSF_pending_request_init_ ()
"MAX_PENDING_REQUESTS");
}
if (GNUNET_OK !=
- GNUNET_CONFIGURATION_get_value_size (GSF_cfg, "core", "TOTAL_QUOTA_OUT",
+ GNUNET_CONFIGURATION_get_value_size (GSF_cfg, "ats", "WAN_QUOTA_OUT",
&bps))
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
_
("Configuration fails to specify `%s', assuming default value."),
- "TOTAL_QUOTA_IN");
+ "WAN_QUOTA_OUT");
bps = 65536;
}
/* queue size should be #queries we can have pending and satisfy within
diff --git a/src/fs/test_fs_defaults.conf b/src/fs/test_fs_defaults.conf
index a2b111181..9dd717863 100644
--- a/src/fs/test_fs_defaults.conf
+++ b/src/fs/test_fs_defaults.conf
@@ -42,11 +42,13 @@ PORT = 43468
PORT = 43469
HOSTNAME = localhost
+[ats]
+WAN_QUOTA_IN = 65536
+WAN_QUOTA_OUT = 65536
+
[core]
PORT = 43470
HOSTNAME = localhost
-TOTAL_QUOTA_IN = 65536
-TOTAL_QUOTA_OUT = 65536
[fs]
PORT = 43471
diff --git a/src/fs/test_gnunet_service_fs_migration_data.conf b/src/fs/test_gnunet_service_fs_migration_data.conf
index ad6b7a2db..9c05a88e9 100644
--- a/src/fs/test_gnunet_service_fs_migration_data.conf
+++ b/src/fs/test_gnunet_service_fs_migration_data.conf
@@ -4,6 +4,6 @@ SERVICEHOME = /tmp/test-gnunet-service-fs-migration/
DEFAULTCONFIG = test_gnunet_service_fs_migration_data.conf
-[core]
-TOTAL_QUOTA_IN = 3932160
-TOTAL_QUOTA_OUT = 3932160
+[ats]
+WAN_QUOTA_IN = 3932160
+WAN_QUOTA_OUT = 3932160