Increasing timeout for WifiScan.

This commit is contained in:
stephb9959
2022-05-05 07:49:50 -07:00
parent 4e9c26cd04
commit 8c26cc37d7

View File

@@ -663,7 +663,7 @@ void RESTAPI_device_commandHandler::WifiScan() {
std::stringstream ParamStream;
Params.stringify(ParamStream);
Cmd.Details = ParamStream.str();
RESTAPI_RPC::WaitForCommand(Cmd, Params, *Request, *Response, 60000ms, nullptr, this, Logger_);
RESTAPI_RPC::WaitForCommand(Cmd, Params, *Request, *Response, 120000ms, nullptr, this, Logger_);
if (Cmd.ErrorCode == 0) {
KafkaManager()->PostMessage(KafkaTopics::WIFISCAN, SerialNumber_, Cmd.Results);
}