docs: Reprovider config (#9900)
This updates docs to match new values from https://github.com/ipfs/kubo/pull/9326
Marcin Rataj committed
May 29, 2023 at 16:17 UTC
38556b8d21292c5c10f0bd7b5d874ca447111c23
1 file changed
+8
-4
docs/config.md
+8
-4
@@ -1326,15 +1326,19 @@ Type: `array[peering]`
1326
### `Reprovider.Interval`
1327
1328
Sets the time between rounds of reproviding local content to the routing
1329
-system. If unset, it defaults to 12 hours. If set to the value `"0"` it will
1330
-disable content reproviding.
1329
+system.
1330
+
1331
+- If unset, it uses the implicit safe default.
1332
+- If set to the value `"0"` it will disable content reproviding.
1333
1334
Note: disabling content reproviding will result in other nodes on the network
1335
not being able to discover that you have the objects that you have. If you want
1336
to have this disabled and keep the network aware of what you have, you must
1337
manually announce your content periodically.
1338
1337
-Type: `duration`
1339
+Default: `22h` (`DefaultReproviderInterval`)
1340
+
1341
+Type: `optionalDuration` (unset for the default)
1342
1343
### `Reprovider.Strategy`
1344
@@ -1346,7 +1350,7 @@ Tells reprovider what should be announced. Valid strategies are:
1350
1351
Default: `"all"`
1352
1349
-Type: `string` (or unset for the default, which is "all")
1353
+Type: `optionalString` (unset for the default)
1354
1355
## `Routing`
1356