diff --git a/config/settings.yml b/config/settings.yml index 3ff208c..b8f1ff5 100644 --- a/config/settings.yml +++ b/config/settings.yml @@ -2,5 +2,5 @@ relay: wss://relay.nos.social event_channel_size: 100 event_workers: 2 follow_change_channel_size: 10000 -follow_change_workers: 5 +follow_change_workers: 50 worker_timeout_secs: 10 diff --git a/src/relay_subscriber.rs b/src/relay_subscriber.rs index b5a2fe3..49bd9b3 100644 --- a/src/relay_subscriber.rs +++ b/src/relay_subscriber.rs @@ -1,6 +1,5 @@ use crate::send_with_checks::SendWithChecks; use anyhow::{bail, Result}; -use futures::future::join_all; use nostr_sdk::prelude::*; use signal::unix::{signal, SignalKind}; use std::time::Duration;