mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-29 23:16:51 +00:00
engine/websocket: subscribe to default channels only when actually needed (#610)
* if this is required by ws routines or sync manager * restore previous subscriptions on reconnect
This commit is contained in:
@@ -474,7 +474,7 @@ func (bot *Engine) Start() error {
|
||||
}
|
||||
|
||||
if bot.Settings.EnableWebsocketRoutine {
|
||||
go WebsocketRoutine()
|
||||
go bot.WebsocketRoutine()
|
||||
}
|
||||
|
||||
if bot.Settings.EnableGCTScriptManager {
|
||||
|
||||
Reference in New Issue
Block a user