-
Notifications
You must be signed in to change notification settings - Fork 119
Use available parallelism in with_grpc_subchannel_count() example #4091
Copy link
Copy link
Closed
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.
Description
Change this example to use the CPU count (aka available parallelism):
google-cloud-rust/src/storage/src/storage/client.rs
Lines 646 to 654 in 3543e88
| /// # Example | |
| /// ``` | |
| /// # use google_cloud_storage::client::Storage; | |
| /// # async fn sample() -> anyhow::Result<()> { | |
| /// let client = Storage::builder() | |
| /// .with_grpc_subchannel_count(50) | |
| /// .build().await?; | |
| /// # Ok(()) } | |
| /// ``` |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.