Skip to content

Commit

Permalink
Specify limit for trace_list endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
hatchan committed Feb 28, 2025
1 parent acc37ce commit 6af77b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otel-worker-cli/src/commands/mcp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ async fn handle_resources_list(
_params: Option<ListResourcesRequestParams>,
) -> Result<ListResourcesResult> {
let resources = client
.trace_list()
.trace_list(Some(50), None)
.await?
.iter()
.map(|trace| {
Expand Down

0 comments on commit 6af77b2

Please sign in to comment.