Skip to content

Holding when use multi threads or processes in server #403

Description

@BeachWang

When I use call_tool in ClientSession to execute a tool function in a MCP server, it will be holding when there are multi threads or processes in the tool function, such as the Dataset map with num_proc > 1. How can I deal with these cases?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds reproneeds additional information to be able to reproduce bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions