Skip to content

Commit

Permalink
Update user-agent on express cache usage
Browse files Browse the repository at this point in the history
Signed-off-by: Vlad Volodkin <[email protected]>
  • Loading branch information
Vlad Volodkin committed Nov 9, 2024
1 parent 7d01885 commit 39efc4e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mountpoint-s3/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,9 @@ pub fn create_s3_client(args: &CliArgs) -> anyhow::Result<(S3CrtClient, EventLoo
if let Some(interfaces) = &args.bind {
user_agent.key_value("mp-nw-interfaces", &interfaces.len().to_string());
}
if args.cache_express_bucket_name().is_some() {
user_agent.value("mp-cache-express");
}

// This is a weird looking number! We really want our first request size to be 1MiB,
// which is a common IO size. But Linux's readahead will try to read an extra 128k on on
Expand Down

0 comments on commit 39efc4e

Please sign in to comment.