mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 06:53:52 +00:00
recoverC back to size 1
This commit is contained in:
parent
7de49155eb
commit
e6fc006747
|
@ -30,7 +30,7 @@ func (s *Strategy) initializeRecoverC() bool {
|
|||
|
||||
if s.recoverC == nil {
|
||||
s.logger.Info("initializing recover channel")
|
||||
s.recoverC = make(chan struct{}, 10)
|
||||
s.recoverC = make(chan struct{}, 1)
|
||||
} else {
|
||||
s.logger.Info("recover channel is already initialized, trigger active orders recover")
|
||||
isInitialize = true
|
||||
|
|
Loading…
Reference in New Issue
Block a user