Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
vcl: fix epoll timeout
[vpp.git]
/
src
/
vcl
/
vppcom.c
diff --git
a/src/vcl/vppcom.c
b/src/vcl/vppcom.c
index
f391949
..
fd9136a
100644
(file)
--- a/
src/vcl/vppcom.c
+++ b/
src/vcl/vppcom.c
@@
-2967,7
+2967,7
@@
vppcom_epoll_wait_condvar (vcl_worker_t * wrk, struct epoll_event *events,
continue;
now = clib_time_now (&wrk->clib_time);
- wait -=
now - start
;
+ wait -=
(now - start) * 1e3
;
start = now;
}
while (wait > 0);