docs: update Provide.DHT.SweepEnabled default to true

This commit is contained in:
Marcin Rataj 2025-11-12 23:53:35 +01:00
parent a0acb69075
commit e857def3de
2 changed files with 3 additions and 4 deletions

View File

@ -64,7 +64,7 @@ type ProvideDHT struct {
MaxWorkers *OptionalInteger `json:",omitempty"`
// SweepEnabled activates the sweeping reprovider system which spreads
// reprovide operations over time. This will become the default in a future release.
// reprovide operations over time.
// Default: DefaultProvideDHTSweepEnabled
SweepEnabled Flag `json:",omitempty"`

View File

@ -2190,10 +2190,9 @@ to `false`.
You can compare the effectiveness of sweep mode vs legacy mode by monitoring the appropriate metrics (see [Monitoring Provide Operations](#monitoring-provide-operations) above).
> [!NOTE]
> This feature is opt-in for now, but will become the default in a future release.
> Eventually, this configuration flag will be removed once the feature is stable.
> This is the default provider system as of Kubo v0.39. To use the legacy provider instead, set `Provide.DHT.SweepEnabled=false`.
Default: `false`
Default: `true`
Type: `flag`