Doc chunk generation can be very slow, this would cause completion to hang until finished.
Instead we now spawn a process and return after 1 second if it generation hasn't completed.
Add check to only generate doc chunks if the chunk file is missing or not up to date.
Doc chunk generation can be very slow, this would cause completion to hang until finished. Instead we now spawn a process and return after 1 second if it generation hasn't completed.
Add check to only generate doc chunks if the chunk file is missing or not up to date.