diff options
Diffstat (limited to 'src/datastore/perf_datastore_api.c')
-rw-r--r-- | src/datastore/perf_datastore_api.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/datastore/perf_datastore_api.c b/src/datastore/perf_datastore_api.c index de9a8b236..00d91b4c7 100644 --- a/src/datastore/perf_datastore_api.c +++ b/src/datastore/perf_datastore_api.c | |||
@@ -269,7 +269,7 @@ run_continuation (void *cls, | |||
269 | data, | 269 | data, |
270 | i+1, | 270 | i+1, |
271 | GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 100), | 271 | GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 100), |
272 | i, | 272 | i, 0, |
273 | GNUNET_TIME_relative_to_absolute | 273 | GNUNET_TIME_relative_to_absolute |
274 | (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, | 274 | (GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, |
275 | GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 1000))), | 275 | GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 1000))), |
@@ -279,10 +279,10 @@ run_continuation (void *cls, | |||
279 | break; | 279 | break; |
280 | case RP_CUT: | 280 | case RP_CUT: |
281 | /* trim down below MAX_SIZE again */ | 281 | /* trim down below MAX_SIZE again */ |
282 | GNUNET_DATASTORE_get_random (datastore, | 282 | GNUNET_DATASTORE_get_for_replication (datastore, |
283 | 1, 1, TIMEOUT, | 283 | 1, 1, TIMEOUT, |
284 | &delete_value, | 284 | &delete_value, |
285 | crc); | 285 | crc); |
286 | break; | 286 | break; |
287 | case RP_REPORT: | 287 | case RP_REPORT: |
288 | printf ( | 288 | printf ( |
@@ -355,7 +355,7 @@ run (void *cls, | |||
355 | GNUNET_DATASTORE_put (datastore, 0, | 355 | GNUNET_DATASTORE_put (datastore, 0, |
356 | &zkey, 4, "TEST", | 356 | &zkey, 4, "TEST", |
357 | GNUNET_BLOCK_TYPE_TEST, | 357 | GNUNET_BLOCK_TYPE_TEST, |
358 | 0, 0, GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_SECONDS), | 358 | 0, 0, 0, GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_SECONDS), |
359 | 0, 1, GNUNET_TIME_UNIT_MINUTES, | 359 | 0, 1, GNUNET_TIME_UNIT_MINUTES, |
360 | &run_tests, crc)) | 360 | &run_tests, crc)) |
361 | { | 361 | { |