Increase timeout of recv() of client socket 36/309236/2
authorHwankyu Jhun <h.jhun@samsung.com>
Mon, 8 Apr 2024 01:55:15 +0000 (10:55 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Mon, 8 Apr 2024 01:59:50 +0000 (01:59 +0000)
This patch increases recv() timeout to 10 seconds from 5 seconds.

Change-Id: I3bfbd30e8646457c9a6da34dc79f1ec43951da09
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/proxy-internal.cc

index 64ec93f..cd52cd6 100644 (file)
@@ -688,7 +688,7 @@ Proxy::Client* Proxy::Client::Create(Proxy* parent,
   }
 
   try {
-    client->SetReceiveTimeout(5000);
+    client->SetReceiveTimeout(10000);
   } catch (const Exception& e) {
     _E("Exception occurs. error(%s)", e.what());  // LCOV_EXCL_LINE
     return nullptr;  // LCOV_EXCL_LINE