diff options
author | Florin Coras <fcoras@cisco.com> | 2020-08-04 22:45:45 -0700 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-08-17 21:24:20 +0000 |
commit | 69e6364cd829c7d59355bfd804e456549d5e52b3 (patch) | |
tree | 8c666679afe32761b48329313b2619c3391df5d9 /src | |
parent | b639d50299d1074c9f7199ea6ca2465a86620dd3 (diff) |
vcl: fix epoll timeout
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I917158a62e5881b97917c3339527d3c34c37565a
(cherry picked from commit 0edfb1a06ed093c5ed82be34b42b8cacc3ac0ff8)
Diffstat (limited to 'src')
-rw-r--r-- | src/vcl/vppcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |