Skip to content

add config entry for. proxyRequesTime #1

Closed

Description

@lzx925060109

Problem

current proxyRequesTime is hard code. expect by config.json to control it.

Proposed solution

Alternatives considered

Activity

  1. self-assigned this
    on Jun 5, 2026
  2. VictorMinemu commented on Jun 5, 2026

    @VictorMinemu
    Owner

    Thanks for reporting this. A fix is ready in #2.

    The proxy request timeout can now be configured in ~/.cc-router/config.json with proxyRequestTimeoutMs in milliseconds, for example:

    {
      "proxyRequestTimeoutMs": 600000
    }

    If the value is missing or invalid, cc-router keeps the existing 5-minute default. I also added compatibility for the proxyRequesTime spelling from this issue, but proxyRequestTimeoutMs is the preferred key going forward.

    Verified with:

    • npm test
    • npm run build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions