Skip to content

Commit

Permalink
perf(rpc): Smol perf improvement SupervisorApi, pass slice instead …
Browse files Browse the repository at this point in the history
…of vec as param (#28)
  • Loading branch information
refcell authored Jan 9, 2025
2 parents eb2f9ce + 1b1e0ea commit 2e9a61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/rpc-jsonrpsee/src/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ pub trait SupervisorApi {
#[method(name = "checkMessages")]
async fn check_messages(
&self,
messages: Vec<ExecutingMessage>,
messages: &[ExecutingMessage],
min_safety: SafetyLevel,
) -> RpcResult<()>;
}

0 comments on commit 2e9a61c

Please sign in to comment.