Skip to content

Commit

Permalink
chore: update application.properties and McpHub.java
Browse files Browse the repository at this point in the history
  • Loading branch information
goodjava committed Jan 22, 2025
1 parent 91f77f0 commit 57ab979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ private synchronized void updateServerConnectionsAtOnce(Map<String, ServerParame
ServerParameters config = entry.getValue();
McpConnection currentConnection = connections.get(name);

if (currentConnection == null) {
if (currentConnection == null || currentConnection.getServer().getStatus().equals("disconnected")) {
// New server
try {
connectToServer(name, config);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

spring.main.web-application-type=none
stdio.enabled=true

0 comments on commit 57ab979

Please sign in to comment.