From 001bdda43373821d1d5c21d81010f2d4b899a167 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Tue, 19 Jan 2021 01:31:23 +0000 Subject: [PATCH] reload config before spawning daemon threads --- src/onionrcommands/daemonlaunch/spawndaemonthreads.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/onionrcommands/daemonlaunch/spawndaemonthreads.py b/src/onionrcommands/daemonlaunch/spawndaemonthreads.py index a19f2542..86d4efac 100644 --- a/src/onionrcommands/daemonlaunch/spawndaemonthreads.py +++ b/src/onionrcommands/daemonlaunch/spawndaemonthreads.py @@ -23,6 +23,7 @@ if TYPE_CHECKING: def spawn_client_threads(shared_state: 'TooMany'): kv: 'DeadSimpleKV' = shared_state.get_by_string('DeadSimpleKV') + config.reload() add_onionr_thread(get_online_peers, (shared_state,), 3, 1) add_onionr_thread(