mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-07 07:26:48 +00:00
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:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user