@cryptotaxi247 / kubo / commits / 048debeff

reprovider: strategy docs

License: MIT Signed-off-by: Łukasz Magiera <magik6k@gmail.com>

Łukasz Magiera committed Aug 4, 2017 at 23:56 UTC 048debeffd9fec6a899c1a38a3b5784224820647
1 file changed +10 -2
docs/config.md
+10 -2
@@ -15,7 +15,7 @@ a running daemon do not read the config file at runtime.
15 - [`Identity`](#identity)
16 - [`Ipns`](#ipns)
17 - [`Mounts`](#mounts)
18 -- [`ReproviderInterval`](#reproviderinterval)
18 +- [`Reproviderl`](#reprovider)
19 - [`SupernodeRouting`](#supernoderouting)
20 - [`Swarm`](#swarm)
21 - [`Tour`](#tour)
@@ -193,7 +193,9 @@ Mountpoint for `/ipns/`.
193 - `FuseAllowOther`
194 Sets the FUSE allow other option on the mountpoint.
195
196 -## `ReproviderInterval`
196 +## `Reprovider`
197 +
198 +- `Interval`
199 Sets the time between rounds of reproviding local content to the routing
200 system. If unset, it defaults to 12 hours. If set to the value `"0"` it will
201 disable content reproviding.
@@ -203,6 +205,12 @@ not being able to discover that you have the objects that you have. If you want
205 to have this disabled and keep the network aware of what you have, you must
206 manually announce your content periodically.
207
208 +- `Strategy`
209 +Tells reprovider what should be announced. Valid strategies are:
210 + - "all" (default) - announce all stored data
211 + - "pinned" - only announce pinned data
212 + - "roots" - only announce directly pinned keys and root keys of recursive pins
213 +
214 ## `SupernodeRouting`
215 Deprecated.
216