Fixing timing issues for some RESTAPIs.

This commit is contained in:
stephb9959
2021-08-06 19:31:59 -07:00
parent 68e634f4bc
commit fa4e0118e6
2 changed files with 1 additions and 7 deletions

2
build
View File

@@ -1 +1 @@
7
9

View File

@@ -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<Poco::Net::HTTPServer>(new RequestHandlerFactory, Pool_, Sock, Params);
NewServer->start();