7248979bb4
The problem was that when you start vim like "vim foo.cc", the FileReadyToParse event is sent to the server before it's actually started up. Basically, a race condition. We _really_ don't want to miss that event. For C++ files, it tells the server to start compiling the file. So now PostDataToHandlerAsync in BaseRequest will retry the request 3 times (with exponential backoff) before failing, thus giving the server time to boot. |
||
---|---|---|
.. | ||
__init__.py | ||
base_request.py | ||
command_request.py | ||
completion_request.py | ||
event_notification.py |