Skip to content

Use available parallelism in with_grpc_subchannel_count() example #4091

@coryan

Description

@coryan

Change this example to use the CPU count (aka available parallelism):

/// # Example
/// ```
/// # use google_cloud_storage::client::Storage;
/// # async fn sample() -> anyhow::Result<()> {
/// let client = Storage::builder()
/// .with_grpc_subchannel_count(50)
/// .build().await?;
/// # Ok(()) }
/// ```

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.type: cleanupAn internal cleanup or hygiene concern.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions