Increase timeout of client socket
[platform/core/appfw/pkgmgr-info.git] / src / common / socket / client_socket.cc
index f386e00..e60015b 100644 (file)
@@ -68,7 +68,7 @@ bool ClientSocket::Connect(ReqType req_type) {
   if (Create() < 0)
     return false;
 
-  SetTimeout(IsDBWriteRequest(req_type) ? 60 * 1000 : 5 * 1000);
+  SetTimeout(IsDBWriteRequest(req_type) ? 60 * 1000 : 30 * 1000);
 
   int retry_cnt = 3;
   do {