aboutsummaryrefslogtreecommitdiffstats
path: root/src/vcl/vppcom.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2020-08-04 22:45:45 -0700
committerFlorin Coras <fcoras@cisco.com>2020-08-04 22:45:45 -0700
commit0edfb1a06ed093c5ed82be34b42b8cacc3ac0ff8 (patch)
tree3ddfe53cf5c0422b14140200ba1b041890be4253 /src/vcl/vppcom.c
parenteedc74b804a955de39e013f14c97f2abb4770157 (diff)
vcl: fix epoll timeout
Type: fix Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I917158a62e5881b97917c3339527d3c34c37565a
Diffstat (limited to 'src/vcl/vppcom.c')
-rw-r--r--src/vcl/vppcom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c
index f3919499bb2..fd9136aa9fc 100644
--- 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);