From 0dff32323b45aebfefbe6b35c228c67d96cc69e9 Mon Sep 17 00:00:00 2001 From: David Newell Date: Tue, 19 Nov 2024 20:02:55 +0000 Subject: [PATCH] chore: tweaks to make s3 writing work locally (#26293) --- rust/cymbal/src/config.rs | 2 +- rust/cymbal/src/error.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust/cymbal/src/config.rs b/rust/cymbal/src/config.rs index 3bd5ae0f4c3..8ab3e69ab18 100644 --- a/rust/cymbal/src/config.rs +++ b/rust/cymbal/src/config.rs @@ -46,7 +46,7 @@ pub struct Config { #[envconfig(default = "100000000")] // 100MB - in prod, we should use closer to 1-10GB pub symbol_store_cache_max_bytes: usize, - #[envconfig(default = "http://localhost:19000")] // minio + #[envconfig(default = "http://127.0.0.1:19000")] // minio pub object_storage_endpoint: String, #[envconfig(default = "symbol_sets")] diff --git a/rust/cymbal/src/error.rs b/rust/cymbal/src/error.rs index 37bd6ae57ec..2febd84cb15 100644 --- a/rust/cymbal/src/error.rs +++ b/rust/cymbal/src/error.rs @@ -20,7 +20,7 @@ pub enum UnhandledError { KafkaError(#[from] KafkaError), #[error("Sqlx error: {0}")] SqlxError(#[from] sqlx::Error), - #[error(transparent)] + #[error("S3 error: {0}")] S3Error(#[from] Box), #[error(transparent)] ByteStreamError(#[from] ByteStreamError), // AWS specific bytestream error. Idk