Skip to content

Commit 823d4a5

Browse files
yunyadMA77HEW820
authored andcommitted
Remove redundant configurations (#3195)
This PR removes the configuration related to the Python language server from application.conf, as it is no longer needed. We have already separated the python language server.
1 parent 00ceffe commit 823d4a5

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

core/amber/src/main/resources/application.conf

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,6 @@ schedule-generator {
8080
search-timeout-milliseconds = 1000
8181
}
8282

83-
python-language-server{
84-
provider = "pyright" # valid options: ["pyright", "pylsp"]
85-
port = 3000
86-
# Maximum number of retries for starting the language server.
87-
retry-counts = 3
88-
# Time in milliseconds to wait between retry attempts when starting the language server
89-
wait-time-ms = 200
90-
}
91-
9283
ai-assistant-server{
9384
assistant = "none"
9485
# Put your Ai Service authentication key here

core/amber/src/main/scala/edu/uci/ics/amber/engine/common/AmberConfig.scala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ object AmberConfig {
106106
val cleanupAllExecutionResults: Boolean =
107107
getConfSource.getBoolean("web-server.clean-all-execution-results-on-server-start")
108108

109-
// Language server configuration
110-
val pythonLanguageServerConfig: Config = getConfSource.getConfig("python-language-server")
111109
// Python language server configuration
112110
var aiAssistantConfig: Option[Config] = None
113111
if (getConfSource.hasPath("ai-assistant-server")) {

core/scripts/server.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
pylsp --ws --port 3000 &
21
cd amber
32
target/texera-0.1-SNAPSHOT/bin/texera-web-application

0 commit comments

Comments
 (0)