Skip to content

high CPU usage during running for a long time #1124

@lijingrs

Description

@lijingrs
Image Image

Long-term task polling can lead to a gradual increase in CPU usage.

here is my test dataflow:

nodes:

  • id: mcp-server
    build: cargo build -p dora-mcp-server --release
    path: /xdfapp/rust-target/release/dora-mcp-server
    outputs:

    • search_request
      inputs:
      search_reply: question-search/reply
      env:
      CONFIG: mcp_config.toml
  • id: question-search
    build: cargo build -p question-search
    path: /Users/lijing/xdfapp/rust-target/debug/question-search
    inputs:
    text: mcp-server/search_request
    outputs:

    • reply

Agent: moly

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrust

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions