diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2018-04-20 23:56:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-20 23:56:50 +0200 |
commit | c10a207a20eb6dbcd628cae80c32de602d29e4b3 (patch) | |
tree | bd57fd6b20b44af8d7c76f7c02678041876a118e /src/nvim/viml/parser/expressions.c | |
parent | d29c243bef1297ae9b044616b894538e983ff9bc (diff) | |
download | rneovim-c10a207a20eb6dbcd628cae80c32de602d29e4b3.tar.gz rneovim-c10a207a20eb6dbcd628cae80c32de602d29e4b3.tar.bz2 rneovim-c10a207a20eb6dbcd628cae80c32de602d29e4b3.zip |
test/util: throttle retry() (#8296)
Avoid a hot loop in retry(), there's no need to retry more than 50/s.
Also use luv.sleep() to implement sleep() instead of spinning the
event-loop, so events are not silently discarded.
Diffstat (limited to 'src/nvim/viml/parser/expressions.c')
0 files changed, 0 insertions, 0 deletions