diff --git a/hubble-sync/src/host/mod.rs b/hubble-sync/src/host/mod.rs index 2191623..4bbca44 100644 --- a/hubble-sync/src/host/mod.rs +++ b/hubble-sync/src/host/mod.rs @@ -63,7 +63,7 @@ const DEFAULT_RELAY_HOST_QPS: NonZeroU32 = NonZeroU32::new(1000).unwrap(); const DEFAULT_HOST_CONCURRENCY: usize = 2; // TODO: config / policy-based; be kind to hosts for now const DEFAULT_BSKY_HOST_CONCURRENCY: usize = 10; // TODO: config / policy-based; be kind to hosts for now -const DEFAULT_RELAY_HOST_CONCURRENCY: usize = 256; +const DEFAULT_RELAY_HOST_CONCURRENCY: usize = 128; const DEFAULT_MAX_REDIRECTS: usize = 10; const DEFAULT_MAX_NON_STREAM_BODY: usize = 10 * 2_usize.pow(20); // 10MiB diff --git a/hubble/src/main.rs b/hubble/src/main.rs index 750a088..a4e9c6a 100644 --- a/hubble/src/main.rs +++ b/hubble/src/main.rs @@ -156,7 +156,7 @@ async fn main() -> color_eyre::Result<()> { .with(ErrorLayer::default()) .init(); - ensure_nofile(32_768); + ensure_nofile(256 * 1024); start_metrics();