fn api_client(user: &GlobalUser) -> Result<HttpApiClient, failure::Error> {
    http::api_client(
        user,
        HttpApiClientConfig {
            // Use 5 minute timeout instead of default 30-second one.
            // This is useful for bulk upload operations.
            http_timeout: Duration::from_secs(5 * 60),
        },
    )
}
// Create a special API client that has a longer timeout than usual, given that KV operations
// can be lengthy if payloads are large.
Create a special API client that has a longer timeout than usual, given that KV operations
can be lengthy if payloads are large.
Create a special API client that has a longer timeout than usual given that KV operations can be lengthy if payloads are large .
fn api_client(user: &GlobalUser) -> Result<HttpApiClient, failure::Error> {
    http::api_client(
        user,
        HttpApiClientConfig {
            // Use 5 minute timeout instead of default 30-second one.
            // This is useful for bulk upload operations.
            http_timeout: Duration::from_secs(5 * 60),
        },
    )
}
fn api_client ( user : & GlobalUser ) -> Result < HttpApiClient , failure :: Error > { http :: api_client ( user , HttpApiClientConfig { // Use 5 minute timeout instead of default 30-second one. // This is useful for bulk upload operations. http_timeout : Duration :: from_secs ( 5 * 60 ) , } , ) }
Create a special API client that has a longer timeout than usual, given that KV operations
can be lengthy if payloads are large.
Create a special API client that has a longer timeout than usual given that KV operations can be lengthy if payloads are large .
user
&GlobalUser