Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangchiqing committed Jan 30, 2025
1 parent f15f41e commit 90d3ab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/execution_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (exeConf *ExecutionConfig) SetupFlags(flags *pflag.FlagSet) {

flags.Uint64Var(&exeConf.pruningConfigThreshold, "pruning-threshold", exepruner.DefaultConfig.Threshold, "the number of blocks that we want to keep in the database, default 30 days")
flags.UintVar(&exeConf.pruningConfigBatchSize, "pruning-batch-size", exepruner.DefaultConfig.BatchSize, "the batch size is the number of blocks that we want to delete in one batch, default 1000")
flags.DurationVar(&exeConf.pruningConfigSleepAfterCommit, "pruning-sleep-after-commit", exepruner.DefaultConfig.SleepAfterEachCommit, "sleep time after each batch commit, default 1s")
flags.DurationVar(&exeConf.pruningConfigSleepAfterCommit, "pruning-sleep-after-commit", exepruner.DefaultConfig.SleepAfterEachBatchCommit, "sleep time after each batch commit, default 1s")
flags.DurationVar(&exeConf.pruningConfigSleepAfterIteration, "pruning-sleep-after-iteration", exepruner.DefaultConfig.SleepAfterEachIteration, "sleep time after each iteration, default 500000h")
}

Expand Down

0 comments on commit 90d3ab1

Please sign in to comment.