mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55: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
|
return
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
s.Subscriptions = nil
|
||||||
err = s.connect(ctx)
|
err = s.connect(ctx)
|
||||||
time.Sleep(5 * time.Second)
|
time.Sleep(5 * time.Second)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user