mirror of
https://github.com/enso-org/enso.git
synced 2024-11-30 05:35:09 +03:00
9252eb5f3a
* Delay LS shutdown when last client disconnects Rather than closing Language Server immediately, we delay the shutdown until some timeout hits. This gives a chance for new clients to connect without paying the price of the initialization again. More importantly, during hibernation/restart, the connection between client (IDE) and LS is severed so it appears as if client disconnect. In fact a few moments later IDE would attempt to re-establish the connection on the same port. Without this change, LS shutsdown and further attempts to connect on that particular port will fail. There are still problems on the IDE-side after waking up from hibernation but it is not related to Language Server. * Introduce a separate timeout for delayed shutdown Can't/shouldn't use the same timeout value as for shutdown timeout for delaying shutdowns initiated by lack of clients. * Add test demonstrating the new functionality |
||
---|---|---|
.. | ||
akka-native/src/main | ||
cli/src | ||
common-polyglot-core-utils/src/main/java/org/enso/polyglot/common_utils | ||
connected-lock-manager/src | ||
distribution-manager/src/main | ||
downloader/src | ||
edition-updater/src | ||
edition-uploader/src/main | ||
editions/src | ||
interpreter-dsl/src/main/java/org/enso/interpreter/dsl | ||
json-rpc-server | ||
json-rpc-server-test | ||
library-manager/src | ||
library-manager-test/src | ||
locking-test-helper/src/main | ||
logger | ||
logging-service/src | ||
logging-truffle-connector/src/main | ||
logging-utils/src | ||
pkg | ||
profiling-utils/src/main | ||
project-manager | ||
runtime-version-manager/src | ||
runtime-version-manager-test/src | ||
searcher/src | ||
syntax | ||
task-progress-notifications/src/main/scala/org/enso/cli/task/notifications | ||
testkit/src/main | ||
text-buffer/src | ||
version-output/src/main |