aboutsummaryrefslogtreecommitdiff
path: root/src/datastore/perf_plugin_datastore.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-03 19:53:43 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-03 19:53:43 +0000
commitdd1dcb51fe9ad99b0f81598d4045d2e957834843 (patch)
tree4a983da7133685e86625f5d1579fe35d7507f34c /src/datastore/perf_plugin_datastore.c
parente8a32f22c8bceb389a3a6ad053d9d1043e9fa5d8 (diff)
downloadgnunet-dd1dcb51fe9ad99b0f81598d4045d2e957834843.tar.gz
gnunet-dd1dcb51fe9ad99b0f81598d4045d2e957834843.zip
improving sqlite performance
Diffstat (limited to 'src/datastore/perf_plugin_datastore.c')
-rw-r--r--src/datastore/perf_plugin_datastore.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/datastore/perf_plugin_datastore.c b/src/datastore/perf_plugin_datastore.c
index a231b8e64..3829c7af5 100644
--- a/src/datastore/perf_plugin_datastore.c
+++ b/src/datastore/perf_plugin_datastore.c
@@ -37,7 +37,7 @@
37 * those take too long to run them in the usual "make check" 37 * those take too long to run them in the usual "make check"
38 * sequence. Hence the value used for shipping is tiny. 38 * sequence. Hence the value used for shipping is tiny.
39 */ 39 */
40#define MAX_SIZE 1024LL * 1024 * 16 40#define MAX_SIZE 1024LL * 1024 * 16 * 1
41 41
42#define ITERATIONS 2 42#define ITERATIONS 2
43 43
@@ -429,7 +429,6 @@ test (void *cls,
429 crc); 429 crc);
430 break; 430 break;
431 case RP_DONE: 431 case RP_DONE:
432 exit (0);
433 crc->api->drop (crc->api->cls); 432 crc->api->drop (crc->api->cls);
434 ok = 0; 433 ok = 0;
435 GNUNET_SCHEDULER_add_with_priority (GNUNET_SCHEDULER_PRIORITY_IDLE, 434 GNUNET_SCHEDULER_add_with_priority (GNUNET_SCHEDULER_PRIORITY_IDLE,