Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into post-nitro-cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacolvin0 committed Oct 7, 2022
2 parents 764f663 + 86a7545 commit 88f3b27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/arb-rpc-node/cmd/arb-node/arb-node.go
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ func startup() error {
}
}

if config.Core.CheckpointPruningMode == "on" {
if config.Core.CheckpointPruningMode != "off" {
if err := cmdhelp.UpdatePrunePoint(ctx, rollup, mon.Core); err != nil {
logger.Error().Err(err).Msg("error pruning database")
}
Expand Down Expand Up @@ -535,7 +535,7 @@ func startup() error {
}()
}

if config.Core.CheckpointPruningMode == "on" {
if config.Core.CheckpointPruningMode != "off" {
ticker := time.NewTicker(time.Minute)
go func() {
defer ticker.Stop()
Expand Down

0 comments on commit 88f3b27

Please sign in to comment.