diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-11-03 21:20:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-11-03 21:20:07 +0000 |
commit | 1911cc508e10a4052499ba41e565edf57184daf7 (patch) | |
tree | 75baa9795123ffcdf8c12e86705cfa3f31cf37a0 /src/datacache | |
parent | 236e47e55554310cc19b8c37c7b844d53a239f28 (diff) | |
download | gnunet-1911cc508e10a4052499ba41e565edf57184daf7.tar.gz gnunet-1911cc508e10a4052499ba41e565edf57184daf7.zip |
use new quota parsing capabilities -- SVN 1875
Diffstat (limited to 'src/datacache')
-rw-r--r-- | src/datacache/datacache.c | 2 | ||||
-rw-r--r-- | src/datacache/perf_datacache_data_mysql.conf | 2 | ||||
-rw-r--r-- | src/datacache/perf_datacache_data_postgres.conf | 2 | ||||
-rw-r--r-- | src/datacache/perf_datacache_data_sqlite.conf | 2 | ||||
-rw-r--r-- | src/datacache/test_datacache_data_mysql.conf | 2 | ||||
-rw-r--r-- | src/datacache/test_datacache_data_postgres.conf | 2 | ||||
-rw-r--r-- | src/datacache/test_datacache_data_sqlite.conf | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/src/datacache/datacache.c b/src/datacache/datacache.c index 7c92f7737..324ab78ef 100644 --- a/src/datacache/datacache.c +++ b/src/datacache/datacache.c | |||
@@ -139,7 +139,7 @@ GNUNET_DATACACHE_create (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
139 | char *name; | 139 | char *name; |
140 | 140 | ||
141 | if (GNUNET_OK != | 141 | if (GNUNET_OK != |
142 | GNUNET_CONFIGURATION_get_value_number (cfg, section, "QUOTA", "a)) | 142 | GNUNET_CONFIGURATION_get_value_size (cfg, section, "QUOTA", "a)) |
143 | { | 143 | { |
144 | LOG (GNUNET_ERROR_TYPE_ERROR, | 144 | LOG (GNUNET_ERROR_TYPE_ERROR, |
145 | _("No `%s' specified for `%s' in configuration!\n"), "QUOTA", section); | 145 | _("No `%s' specified for `%s' in configuration!\n"), "QUOTA", section); |
diff --git a/src/datacache/perf_datacache_data_mysql.conf b/src/datacache/perf_datacache_data_mysql.conf index 255006925..1760f7d08 100644 --- a/src/datacache/perf_datacache_data_mysql.conf +++ b/src/datacache/perf_datacache_data_mysql.conf | |||
@@ -1,5 +1,5 @@ | |||
1 | [perfcache] | 1 | [perfcache] |
2 | QUOTA = 500000 | 2 | QUOTA = 500 KB |
3 | DATABASE = mysql | 3 | DATABASE = mysql |
4 | 4 | ||
5 | [datacache-mysql] | 5 | [datacache-mysql] |
diff --git a/src/datacache/perf_datacache_data_postgres.conf b/src/datacache/perf_datacache_data_postgres.conf index 9626933a3..c92f52a04 100644 --- a/src/datacache/perf_datacache_data_postgres.conf +++ b/src/datacache/perf_datacache_data_postgres.conf | |||
@@ -1,5 +1,5 @@ | |||
1 | [perfcache] | 1 | [perfcache] |
2 | QUOTA = 500000 | 2 | QUOTA = 500 KB |
3 | DATABASE = postgres | 3 | DATABASE = postgres |
4 | 4 | ||
5 | [datacache-postgres] | 5 | [datacache-postgres] |
diff --git a/src/datacache/perf_datacache_data_sqlite.conf b/src/datacache/perf_datacache_data_sqlite.conf index b81034f5f..9d0dbbdba 100644 --- a/src/datacache/perf_datacache_data_sqlite.conf +++ b/src/datacache/perf_datacache_data_sqlite.conf | |||
@@ -1,4 +1,4 @@ | |||
1 | [perfcache] | 1 | [perfcache] |
2 | QUOTA = 500000 | 2 | QUOTA = 500 KB |
3 | DATABASE = sqlite | 3 | DATABASE = sqlite |
4 | 4 | ||
diff --git a/src/datacache/test_datacache_data_mysql.conf b/src/datacache/test_datacache_data_mysql.conf index de84b4ca7..bc9daa3ad 100644 --- a/src/datacache/test_datacache_data_mysql.conf +++ b/src/datacache/test_datacache_data_mysql.conf | |||
@@ -1,5 +1,5 @@ | |||
1 | [testcache] | 1 | [testcache] |
2 | QUOTA = 1000000 | 2 | QUOTA = 1 MB |
3 | DATABASE = mysql | 3 | DATABASE = mysql |
4 | 4 | ||
5 | [datacache-mysql] | 5 | [datacache-mysql] |
diff --git a/src/datacache/test_datacache_data_postgres.conf b/src/datacache/test_datacache_data_postgres.conf index 5452ea817..09e8e7253 100644 --- a/src/datacache/test_datacache_data_postgres.conf +++ b/src/datacache/test_datacache_data_postgres.conf | |||
@@ -1,6 +1,6 @@ | |||
1 | 1 | ||
2 | [testcache] | 2 | [testcache] |
3 | QUOTA = 1000000 | 3 | QUOTA = 1 MB |
4 | DATABASE = postgres | 4 | DATABASE = postgres |
5 | 5 | ||
6 | [datacache-postgres] | 6 | [datacache-postgres] |
diff --git a/src/datacache/test_datacache_data_sqlite.conf b/src/datacache/test_datacache_data_sqlite.conf index 8254e483a..bf6ce1b2b 100644 --- a/src/datacache/test_datacache_data_sqlite.conf +++ b/src/datacache/test_datacache_data_sqlite.conf | |||
@@ -1,5 +1,5 @@ | |||
1 | [testcache] | 1 | [testcache] |
2 | QUOTA = 1000000 | 2 | QUOTA = 1 MB |
3 | DATABASE = sqlite | 3 | DATABASE = sqlite |
4 | 4 | ||
5 | 5 | ||