reload config before spawning daemon threads

This commit is contained in:
Kevin Froman 2021-01-19 01:31:23 +00:00
parent aeb2e16d8b
commit 001bdda433

View File

@ -23,6 +23,7 @@ if TYPE_CHECKING:
def spawn_client_threads(shared_state: 'TooMany'): def spawn_client_threads(shared_state: 'TooMany'):
kv: 'DeadSimpleKV' = shared_state.get_by_string('DeadSimpleKV') kv: 'DeadSimpleKV' = shared_state.get_by_string('DeadSimpleKV')
config.reload()
add_onionr_thread(get_online_peers, (shared_state,), 3, 1) add_onionr_thread(get_online_peers, (shared_state,), 3, 1)
add_onionr_thread( add_onionr_thread(