docs(config): clarify SweepEnabled fallback for HTTP-only routing

This commit is contained in:
Marcin Rataj 2025-12-16 18:59:53 +01:00
parent 3f15ac5e71
commit 270e918982

View File

@ -2195,6 +2195,9 @@ You can compare the effectiveness of sweep mode vs legacy mode by monitoring the
> [!NOTE]
> This is the default provider system as of Kubo v0.39. To use the legacy provider instead, set `Provide.DHT.SweepEnabled=false`.
> [!NOTE]
> When DHT routing is unavailable (e.g., `Routing.Type=custom` with only HTTP routers), the provider automatically falls back to the legacy provider regardless of this setting.
Default: `true`
Type: `flag`