mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 09:11:55 +00:00
change default HaltDuration to 1h
This commit is contained in:
parent
14fff8dbad
commit
5f65e87e89
|
@ -120,7 +120,7 @@ func NewBasicCircuitBreaker(strategyID, strategyInstance string) *BasicCircuitBr
|
|||
MaximumConsecutiveLossTimes: 8,
|
||||
MaximumHaltTimes: 3,
|
||||
MaximumHaltTimesExceededPanic: false,
|
||||
HaltDuration: types.Duration(30 * time.Minute),
|
||||
HaltDuration: types.Duration(1 * time.Hour),
|
||||
strategyID: strategyID,
|
||||
strategyInstance: strategyInstance,
|
||||
metricsLabels: prometheus.Labels{"strategy": strategyID, "strategyInstance": strategyInstance},
|
||||
|
|
Loading…
Reference in New Issue
Block a user