mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-24 18:07:17 +01:00
chore: tweaks to make s3 writing work locally (#26293)
This commit is contained in:
parent
0f8d81b25c
commit
0dff32323b
@ -46,7 +46,7 @@ pub struct Config {
|
|||||||
#[envconfig(default = "100000000")] // 100MB - in prod, we should use closer to 1-10GB
|
#[envconfig(default = "100000000")] // 100MB - in prod, we should use closer to 1-10GB
|
||||||
pub symbol_store_cache_max_bytes: usize,
|
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,
|
pub object_storage_endpoint: String,
|
||||||
|
|
||||||
#[envconfig(default = "symbol_sets")]
|
#[envconfig(default = "symbol_sets")]
|
||||||
|
@ -20,7 +20,7 @@ pub enum UnhandledError {
|
|||||||
KafkaError(#[from] KafkaError),
|
KafkaError(#[from] KafkaError),
|
||||||
#[error("Sqlx error: {0}")]
|
#[error("Sqlx error: {0}")]
|
||||||
SqlxError(#[from] sqlx::Error),
|
SqlxError(#[from] sqlx::Error),
|
||||||
#[error(transparent)]
|
#[error("S3 error: {0}")]
|
||||||
S3Error(#[from] Box<aws_sdk_s3::Error>),
|
S3Error(#[from] Box<aws_sdk_s3::Error>),
|
||||||
#[error(transparent)]
|
#[error(transparent)]
|
||||||
ByteStreamError(#[from] ByteStreamError), // AWS specific bytestream error. Idk
|
ByteStreamError(#[from] ByteStreamError), // AWS specific bytestream error. Idk
|
||||||
|
Loading…
Reference in New Issue
Block a user