Add Contacts to Queue in the Background to Avoid Activation Blocking
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Sarah Jamie Lewis 2023-09-25 11:21:46 -07:00
parent 51d146fb5c
commit 935b4a1103
1 changed files with 2 additions and 1 deletions

View File

@ -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)
}
}