summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-08-09 20:25:30 +0200
committerChristian Grothoff <christian@grothoff.org>2018-08-09 20:25:30 +0200
commitd9474aab0ff6636962ca44dfb90d597203bd98df (patch)
tree8648492e18871a4241ca22618a5db579abaad6ad /src/exchange
parenta05859ad136ef0182c84507fb2b9c73f952b9e89 (diff)
downloadexchange-d9474aab0ff6636962ca44dfb90d597203bd98df.tar.gz
exchange-d9474aab0ff6636962ca44dfb90d597203bd98df.tar.bz2
exchange-d9474aab0ff6636962ca44dfb90d597203bd98df.zip
fix benchmark tool output and time measurement
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd.c b/src/exchange/taler-exchange-httpd.c
index cb8ba2833..e80ee5a72 100644
--- a/src/exchange/taler-exchange-httpd.c
+++ b/src/exchange/taler-exchange-httpd.c
@@ -944,10 +944,11 @@ main (int argc,
}
mhd
- = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_PIPE_FOR_SHUTDOWN | MHD_USE_DEBUG | MHD_USE_DUAL_STACK,
+ = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_PIPE_FOR_SHUTDOWN | MHD_USE_DEBUG | MHD_USE_DUAL_STACK, // | MHD_USE_INTERNAL_POLLING_THREAD,
(-1 == fh) ? serve_port : 0,
NULL, NULL,
&handle_mhd_request, NULL,
+ /* MHD_OPTION_THREAD_POOL_SIZE, (unsigned int) 8, */
MHD_OPTION_LISTEN_SOCKET, fh,
MHD_OPTION_EXTERNAL_LOGGER, &handle_mhd_logs, NULL,
MHD_OPTION_NOTIFY_COMPLETED, &handle_mhd_completion_callback, NULL,