mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
Raise the MCP catalog item limit to 2,048 (#36534)
## What changed Increase the maximum number of items collected across paginated MCP tool, resource, and resource-template discovery requests from 1,024 to 2,048. GitOrigin-RevId: b6ce0691d6a217e92faaf141cbf09978b296eeda
This commit is contained in:
committed by
copyberry
parent
1e85ca099e
commit
5825699981
@@ -7,7 +7,7 @@ use anyhow::anyhow;
|
||||
use rmcp::model::PaginatedRequestParams;
|
||||
|
||||
const MAX_MCP_CATALOG_PAGES: usize = 100;
|
||||
const MAX_MCP_CATALOG_ITEMS: usize = 1_024;
|
||||
const MAX_MCP_CATALOG_ITEMS: usize = 2_048;
|
||||
const MAX_MCP_PAGINATION_CURSOR_BYTES: usize = 64 * 1024;
|
||||
const DEFAULT_MCP_PAGINATION_TIMEOUT: Duration = Duration::from_secs(30);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user