projects
/
platform
/
core
/
appfw
/
pkgmgr-info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Decrease timeout of client socket
[platform/core/appfw/pkgmgr-info.git]
/
src
/
common
/
socket
/
client_socket.cc
diff --git
a/src/common/socket/client_socket.cc
b/src/common/socket/client_socket.cc
index
e60015b
..
f386e00
100644
(file)
--- a/
src/common/socket/client_socket.cc
+++ b/
src/common/socket/client_socket.cc
@@
-68,7
+68,7
@@
bool ClientSocket::Connect(ReqType req_type) {
if (Create() < 0)
return false;
- SetTimeout(IsDBWriteRequest(req_type) ? 60 * 1000 :
30
* 1000);
+ SetTimeout(IsDBWriteRequest(req_type) ? 60 * 1000 :
5
* 1000);
int retry_cnt = 3;
do {