aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/perf_datastore_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-16 22:30:44 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-16 22:30:44 +0000
commitc058ee40c3fe37e722329cdea0450a8a33aab92b (patch)
treeeb43e3dff5cf11348a8af8c01c32ee12faa5e772 /src/datastore/perf_datastore_api.c
parent700336146abfc054ce2a380b2511a9bbe77f4ec1 (diff)
downloadgnunet-c058ee40c3fe37e722329cdea0450a8a33aab92b.tar.gz
gnunet-c058ee40c3fe37e722329cdea0450a8a33aab92b.zip
fixing compilation problems
Diffstat (limited to 'src/datastore/perf_datastore_api.c')
-rw-r--r--src/datastore/perf_datastore_api.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/datastore/perf_datastore_api.c b/src/datastore/perf_datastore_api.c
index f10f6d0f5..5813634d9 100644
--- a/src/datastore/perf_datastore_api.c
+++ b/src/datastore/perf_datastore_api.c
@@ -41,6 +41,11 @@
41static struct GNUNET_DATASTORE_Handle *datastore; 41static struct GNUNET_DATASTORE_Handle *datastore;
42 42
43/** 43/**
44 * How long until we give up on transmitting the message?
45 */
46#define TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 15)
47
48/**
44 * Target datastore size (in bytes). 49 * Target datastore size (in bytes).
45 * <p> 50 * <p>
46 * Example impact of total size on the reported number 51 * Example impact of total size on the reported number
@@ -137,6 +142,7 @@ putValue (int i, int k)
137 GNUNET_TIME_relative_to_absolute 142 GNUNET_TIME_relative_to_absolute
138 (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 143 (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS,
139 GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 1000))), 144 GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 1000))),
145 TIMEOUT,
140 NULL, NULL); 146 NULL, NULL);
141 ic++; 147 ic++;
142#if REPORT_ID 148#if REPORT_ID