fix: uncomment emitter.complete() for notifications to prevent client hang
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m37s
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 1m37s
This commit is contained in:
@@ -179,7 +179,7 @@ public class CustomWebMvcSseServerTransportProvider implements McpServerTranspor
|
|||||||
log.info("Message sent to session handler");
|
log.info("Message sent to session handler");
|
||||||
|
|
||||||
if (emitter != null && !map.containsKey("id")) {
|
if (emitter != null && !map.containsKey("id")) {
|
||||||
// emitter.complete();
|
emitter.complete();
|
||||||
log.info("Completed emitter for notification (disabled for keep-alive)");
|
log.info("Completed emitter for notification (disabled for keep-alive)");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user