diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-30 14:02:40 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-30 14:02:40 +0200 |
commit | a29f04189c8b7457ede0b3ac01222b88853325a8 (patch) | |
tree | c00400029ee53863481c2e30ffea5c275685733c /src/benchmark | |
parent | afa706914fefc90812c0bda01341e1dcfca06840 (diff) | |
download | exchange-a29f04189c8b7457ede0b3ac01222b88853325a8.tar.xz |
unify to TEXT instead of mixing TEXT and VARCHAR
Diffstat (limited to 'src/benchmark')
-rw-r--r-- | src/benchmark/benchmark-common.conf | 1 | ||||
-rw-r--r-- | src/benchmark/taler-bank-benchmark.c | 16 |
2 files changed, 11 insertions, 6 deletions
diff --git a/src/benchmark/benchmark-common.conf b/src/benchmark/benchmark-common.conf index 5d9405fe5..11e106d2f 100644 --- a/src/benchmark/benchmark-common.conf +++ b/src/benchmark/benchmark-common.conf @@ -78,6 +78,7 @@ CONFIG="postgres:///talercheck" [bank] HTTP_PORT=8082 SERVE=http +RAM_LIMIT=10000000 [libeufin-nexus] DB_CONNECTION="postgresql:///talercheck" diff --git a/src/benchmark/taler-bank-benchmark.c b/src/benchmark/taler-bank-benchmark.c index 80636a60e..224b6d5d1 100644 --- a/src/benchmark/taler-bank-benchmark.c +++ b/src/benchmark/taler-bank-benchmark.c @@ -338,6 +338,7 @@ parallel_benchmark (void) "taler-exchange-wirewatch", "taler-exchange-wirewatch", "-c", cfg_filename, + "-a", exchange_bank_section, (NULL != loglev) ? "-L" : NULL, loglev, NULL); @@ -374,6 +375,7 @@ parallel_benchmark (void) "taler-exchange-wirewatch", "taler-exchange-wirewatch", "-c", cfg_filename, + "-a", exchange_bank_section, "-t", (NULL != loglev) ? "-L" : NULL, loglev, @@ -402,6 +404,7 @@ parallel_benchmark (void) "taler-exchange-wirewatch", "taler-exchange-wirewatch", "-c", cfg_filename, + "-a", exchange_bank_section, "-t", (NULL != loglev) ? "-L" : NULL, loglev, @@ -458,12 +461,13 @@ main (int argc, "NRESERVES", "How many reserves per client we should create", &howmany_reserves), - GNUNET_GETOPT_option_string ( - 'u', - "exchange-account-section", - "SECTION", - "use exchange bank account configuration from the given SECTION", - &exchange_bank_section), + GNUNET_GETOPT_option_mandatory ( + GNUNET_GETOPT_option_string ( + 'u', + "exchange-account-section", + "SECTION", + "use exchange bank account configuration from the given SECTION", + &exchange_bank_section)), GNUNET_GETOPT_option_version (PACKAGE_VERSION " " VCS_VERSION), GNUNET_GETOPT_option_verbose (&verbose), GNUNET_GETOPT_option_uint ('w', |