Skip to content

Commit

Permalink
renterd: increase scan interval
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Dec 4, 2024
1 parent f87ccd7 commit 4110124
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions nodes/opts.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ func WithLog(l *zap.Logger) Option {
}
}

// WithSharedConsensus set whether nodes should share a consensus database
// or initialize their own and sync with each other.
func WithSharedConsensus(shared bool) Option {
return func(m *Manager) {
m.shareConsensus = shared
Expand Down
2 changes: 1 addition & 1 deletion nodes/renterd.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (m *Manager) StartRenterd(ctx context.Context, sk types.PrivateKey, ready c
MigrationHealthCutoff: 0.99,
MigratorParallelSlabsPerWorker: 1,
RevisionSubmissionBuffer: 0,
ScannerInterval: time.Second,
ScannerInterval: 15 * time.Second,
ScannerBatchSize: 10,
ScannerNumThreads: 1,
}, busClient, []autopilot.Worker{workerClient}, log.Named("autopilot"))
Expand Down

0 comments on commit 4110124

Please sign in to comment.