Reduce sleep in s:system_job() polling loop to 1ms

This commit is contained in:
Jan Geboers 2026-02-18 17:20:32 +01:00
parent 87dfcb2d21
commit 28dfd3695b

View file

@ -2343,7 +2343,7 @@ function! s:system_job(cmd) abort
\ 'err_io': 'out',
\})
while job_status(job) ==# 'run'
sleep 10m
sleep 1m
endwhile
let s:shell_error = job_info(job).exitval
let result = filereadable(tmp) ? join(readfile(tmp, 'b'), "\n") : ''