0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-21 13:39:22 +01:00

chore: tweaks to make s3 writing work locally (#26293)

This commit is contained in:
David Newell 2024-11-19 20:02:55 +00:00 committed by GitHub
parent 0f8d81b25c
commit 0dff32323b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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")]

View File

@ -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