projects
/
platform
/
core
/
appfw
/
rpc-port.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54bd0ed
)
Fixed wrong timeout interval
author
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 1 Nov 2018 08:27:10 +0000
(17:27 +0900)
committer
Hwankyu Jhun
<h.jhun@samsung.com>
Thu, 1 Nov 2018 10:37:36 +0000
(19:37 +0900)
Change-Id: I8413cb5f8288e7743edd2643b7899cde05b9b26a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
src/port-internal.cc
patch
|
blob
|
history
diff --git
a/src/port-internal.cc
b/src/port-internal.cc
index
7733afd
..
2cd3a72
100644
(file)
--- a/
src/port-internal.cc
+++ b/
src/port-internal.cc
@@
-119,7
+119,7
@@
int Port::Write(const void* buf, unsigned int size) {
fds[0].revents = 0;
clock_gettime(CLOCK_MONOTONIC, &start_time);
- ret = poll(fds, 1, MAX_SLEEP *
1000
);
+ ret = poll(fds, 1, MAX_SLEEP *
MAX_CNT
);
clock_gettime(CLOCK_MONOTONIC, &end_time);
if (ret == 0) {
LOGE("write_socket: : fd %d poll timeout", fd_);