Feature: Faster start & stop times (#648)

* Updates starting and stopping routines to be a bit more parallel with less waiting required

* Removes stop, removes debugging output

* linting and test fixes

* Add extra kill switch for exiting on exchange loading delay

* Fixes fun math

* breaks loop instead of switch. Moves param warns higher

* Removes unceccary gos. passes in cfg to remove data race

* Removes os signal processing. Fixes bad master merge
This commit is contained in:
Scott
2021-03-23 10:18:57 +11:00
committed by GitHub
parent 46f71952f9
commit 3c72a199f2
18 changed files with 209 additions and 200 deletions

View File

@@ -22,10 +22,9 @@ func TestNewCurrencyPairSyncer(t *testing.T) {
Bot.Settings.DisableExchangeAutoPairUpdates = true
Bot.Settings.EnableExchangeWebsocketSupport = true
Bot.SetupExchanges()
err = Bot.SetupExchanges()
if err != nil {
t.Log("failed to start exchange syncer")
t.Log(err)
}
Bot.ExchangeCurrencyPairManager, err = NewCurrencyPairSyncer(CurrencyPairSyncerConfig{