European Parliament MCP Server API - v1.2.6
    Preparing search index...

    Function resolveEffectiveTimeout

    • Resolve the effective timeout value in milliseconds from the environment.

      This function only resolves the environment-level precedence: EP_REQUEST_TIMEOUT_MS env var → DEFAULT_REQUEST_TIMEOUT_MS

      The full precedence chain (including the --timeout CLI argument) is handled by applyTimeoutArg() in src/main.ts, which sets the env var before modules are loaded.

      Invalid / empty env values are silently ignored (fall through to default).

      Returns number

      Effective timeout in milliseconds