Skip to content

Commit

Permalink
misc: update package lock
Browse files Browse the repository at this point in the history
  • Loading branch information
sdbondi committed Aug 5, 2021
1 parent d4eda65 commit 2133424
Show file tree
Hide file tree
Showing 2 changed files with 3,916 additions and 1,374 deletions.
2 changes: 1 addition & 1 deletion comms/src/protocol/rpc/client_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ where T: RpcPoolClient + From<RpcClient> + NamedProtocolService + Clone
}
}

pub async fn get(&mut self) -> Result<RpcClientLease<T>, RpcClientPoolError> {
pub async fn get(&self) -> Result<RpcClientLease<T>, RpcClientPoolError> {
let mut pool = self.pool.lock().await;
pool.get_least_used_or_connect().await
}
Expand Down
Loading

0 comments on commit 2133424

Please sign in to comment.