Skip to content

feat: enable virtual threads#67

Open
adityamparikh wants to merge 2 commits intoapache:mainfrom
adityamparikh:feat/enable-virtual-threads
Open

feat: enable virtual threads#67
adityamparikh wants to merge 2 commits intoapache:mainfrom
adityamparikh:feat/enable-virtual-threads

Conversation

@adityamparikh
Copy link
Contributor

Summary

  • Enable Java virtual threads globally via spring.threads.virtual.enabled=true
  • Virtual threads are lightweight and have negligible overhead for STDIO mode while improving concurrency for HTTP mode where multiple MCP clients can connect and each request blocks on Solr I/O

Test plan

  • Verify build passes with ./gradlew build
  • Verify STDIO mode still works correctly
  • Verify HTTP mode handles concurrent requests

🤖 Generated with Claude Code

Enable Java virtual threads globally via spring.threads.virtual.enabled=true.
Virtual threads are lightweight and have negligible overhead for STDIO mode
while improving concurrency for HTTP mode where multiple MCP clients can
connect and each request blocks on Solr I/O.

Signed-off-by: Aditya Parikh <adityamparikh@gmail.com>
Signed-off-by: adityamparikh <aditya.m.parikh@gmail.com>
Signed-off-by: Aditya Parikh <adityamparikh@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant