mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 08:45:16 +00:00
fix sub
This commit is contained in:
parent
a9e25c08d7
commit
704c6eed96
|
@ -158,6 +158,7 @@ func (s *PrivateStream) read(ctx context.Context, eventC chan interface{}) {
|
|||
return
|
||||
|
||||
default:
|
||||
s.Subscriptions = nil
|
||||
err = s.connect(ctx)
|
||||
time.Sleep(5 * time.Second)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user