jlahoda opened a new pull request #2870: URL: https://github.com/apache/netbeans/pull/2870
Sometimes the LSP Servers fail soon after their process is started, and get re-started over and over, failing each time. This consumes resources unnecessarily. The idea in this patch is to try to start the server a few times, and if it fails, disable it (for the given IDE run, or until the corresponding provider restarts it using the restarter). For cpplite, we reuse one server for multiple mime-types, but if the server fails, we continue to return the failing instance. We should rather try to start a new one (which is, of course, a subject to the limit on restarts as described above). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
