Skip to content

Commit

Permalink
fixup! Config: Move OrderManager upgrade to Version management
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Jan 18, 2025
1 parent 7b8726d commit f420399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/versions/v4.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func init() {

// defaultConfig contains the stateless V4 representation of orderbookManager
// Note: Do not be tempted to use a constant for Duration. Whilst defaults are still written to config, we need to manage default upgrades discretely.
var defaultFuturesTrackingSeekDuration = strconv.Itoa(int(time.Hour) * 24 * 365)
var defaultFuturesTrackingSeekDuration = strconv.FormatInt(int64(time.Hour)*24*365, 10)

var defaultConfig = []byte(`{
"enabled": true,
Expand Down

0 comments on commit f420399

Please sign in to comment.