From 935b4a1103c4cddd6dc524fec1227d5bc27358e3 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Mon, 25 Sep 2023 11:21:46 -0700 Subject: [PATCH] Add Contacts to Queue in the Background to Avoid Activation Blocking --- app/app.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index 93af876..e2c365a 100644 --- a/app/app.go +++ b/app/app.go @@ -417,7 +417,8 @@ func (app *application) ConfigureConnections(onion string, listen bool, peers bo app.eventBuses[profile.GetOnion()].Publish(event.NewEventList(event.ResumeRetries)) - profile.StartConnections(peers, servers) + // do this in the background, for large contact lists it can take a long time... + go profile.StartConnections(peers, servers) } }