mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +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,
|
MaximumConsecutiveLossTimes: 8,
|
||||||
MaximumHaltTimes: 3,
|
MaximumHaltTimes: 3,
|
||||||
MaximumHaltTimesExceededPanic: false,
|
MaximumHaltTimesExceededPanic: false,
|
||||||
HaltDuration: types.Duration(30 * time.Minute),
|
HaltDuration: types.Duration(1 * time.Hour),
|
||||||
strategyID: strategyID,
|
strategyID: strategyID,
|
||||||
strategyInstance: strategyInstance,
|
strategyInstance: strategyInstance,
|
||||||
metricsLabels: prometheus.Labels{"strategy": strategyID, "strategyInstance": strategyInstance},
|
metricsLabels: prometheus.Labels{"strategy": strategyID, "strategyInstance": strategyInstance},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user