From fa4e0118e6c6bfce0db2dd18e33ac1e00d55ad25 Mon Sep 17 00:00:00 2001 From: stephb9959 Date: Fri, 6 Aug 2021 19:31:59 -0700 Subject: [PATCH] Fixing timing issues for some RESTAPIs. --- build | 2 +- src/RESTAPI_server.cpp | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/build b/build index c793025..f11c82a 100644 --- a/build +++ b/build @@ -1 +1 @@ -7 \ No newline at end of file +9 \ No newline at end of file diff --git a/src/RESTAPI_server.cpp b/src/RESTAPI_server.cpp index 7c25bae..e4b8f1e 100644 --- a/src/RESTAPI_server.cpp +++ b/src/RESTAPI_server.cpp @@ -43,12 +43,6 @@ namespace uCentral { Params->setMaxThreads(50); Params->setMaxQueued(200); Params->setKeepAlive(true); - /* - uint64_t T = 45000; - Params->setKeepAliveTimeout(T); - Params->setMaxKeepAliveRequests(200); - Params->setTimeout(T + 10000); - */ auto NewServer = std::make_unique(new RequestHandlerFactory, Pool_, Sock, Params); NewServer->start();