mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-26 00:35:15 +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 {
|
if s.recoverC == nil {
|
||||||
s.logger.Info("initializing recover channel")
|
s.logger.Info("initializing recover channel")
|
||||||
s.recoverC = make(chan struct{}, 10)
|
s.recoverC = make(chan struct{}, 1)
|
||||||
} else {
|
} else {
|
||||||
s.logger.Info("recover channel is already initialized, trigger active orders recover")
|
s.logger.Info("recover channel is already initialized, trigger active orders recover")
|
||||||
isInitialize = true
|
isInitialize = true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user