diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-08-11 06:31:43 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-08-11 06:31:43 +0200 |
commit | 30191a8ae5908464268569ff4064a87482fb25bc (patch) | |
tree | 5213fd41a36940f79bc06022363514c97138440f /src/exchange | |
parent | 657afbb5d66e6a79dcd61184950489febfc98a33 (diff) | |
download | exchange-30191a8ae5908464268569ff4064a87482fb25bc.tar.gz exchange-30191a8ae5908464268569ff4064a87482fb25bc.tar.bz2 exchange-30191a8ae5908464268569ff4064a87482fb25bc.zip |
be aggressive
Diffstat (limited to 'src/exchange')
-rw-r--r-- | src/exchange/taler-exchange-httpd.c | 2 | ||||
-rw-r--r-- | src/exchange/taler-exchange-httpd_db.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c index 286614a5c..c6c3b540c 100644 --- a/src/exchange/taler-exchange-httpd.c +++ b/src/exchange/taler-exchange-httpd.c @@ -965,7 +965,7 @@ main (int argc, (-1 == fh) ? serve_port : 0, NULL, NULL, &handle_mhd_request, NULL, - MHD_OPTION_THREAD_POOL_SIZE, (unsigned int) 24, + MHD_OPTION_THREAD_POOL_SIZE, (unsigned int) 32, MHD_OPTION_LISTEN_BACKLOG_SIZE, (unsigned int) 1024, MHD_OPTION_LISTEN_SOCKET, fh, MHD_OPTION_EXTERNAL_LOGGER, &handle_mhd_logs, NULL, diff --git a/src/exchange/taler-exchange-httpd_db.c b/src/exchange/taler-exchange-httpd_db.c index 76a45e2fc..5ba9f989f 100644 --- a/src/exchange/taler-exchange-httpd_db.c +++ b/src/exchange/taler-exchange-httpd_db.c @@ -30,7 +30,7 @@ * How often should we retry a transaction before giving up * (for transactions resulting in serialization/dead locks only). */ -#define MAX_TRANSACTION_COMMIT_RETRIES 10 +#define MAX_TRANSACTION_COMMIT_RETRIES 100 /** |