| 1256 | } |
| 1257 | |
| 1258 | void StartHTTPServer() |
| 1259 | { |
| 1260 | auto rpcThreads{std::max(gArgs.GetArg<int>("-rpcthreads", DEFAULT_HTTP_THREADS), 1)}; |
| 1261 | LogInfo("Starting HTTP server with %d worker threads", rpcThreads); |
| 1262 | g_threadpool_http.Start(rpcThreads); |
| 1263 | g_http_server->StartSocketsThreads(); |
| 1264 | } |
| 1265 | |
| 1266 | void InterruptHTTPServer() |
| 1267 | { |
no test coverage detected