Skip to content

Commit

Permalink
chore: tweaks to make s3 writing work locally (#26293)
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin authored Nov 19, 2024
1 parent 0f8d81b commit 0dff323
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust/cymbal/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down
2 changes: 1 addition & 1 deletion rust/cymbal/src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<aws_sdk_s3::Error>),
#[error(transparent)]
ByteStreamError(#[from] ByteStreamError), // AWS specific bytestream error. Idk
Expand Down

0 comments on commit 0dff323

Please sign in to comment.