From c6352a217c4d6b41d94dc8d1d15389df1639d927 Mon Sep 17 00:00:00 2001 From: Daniel Cadenas Date: Thu, 15 Aug 2024 13:44:15 -0300 Subject: [PATCH] More workers for nip05 fetching --- config/settings.yml | 2 +- src/relay_subscriber.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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;