From 69e6364cd829c7d59355bfd804e456549d5e52b3 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Tue, 4 Aug 2020 22:45:45 -0700 Subject: vcl: fix epoll timeout Type: fix Signed-off-by: Florin Coras Change-Id: I917158a62e5881b97917c3339527d3c34c37565a (cherry picked from commit 0edfb1a06ed093c5ed82be34b42b8cacc3ac0ff8) --- src/vcl/vppcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vcl/vppcom.c b/src/vcl/vppcom.c index c5c42add633..9c0a32c3615 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); -- cgit 1.2.3-korg