From 048debeffd9fec6a899c1a38a3b5784224820647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Fri, 4 Aug 2017 23:56:12 +0200 Subject: [PATCH] reprovider: strategy docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit License: MIT Signed-off-by: Ɓukasz Magiera --- docs/config.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/config.md b/docs/config.md index c922fc398..02071e821 100644 --- a/docs/config.md +++ b/docs/config.md @@ -15,7 +15,7 @@ a running daemon do not read the config file at runtime. - [`Identity`](#identity) - [`Ipns`](#ipns) - [`Mounts`](#mounts) -- [`ReproviderInterval`](#reproviderinterval) +- [`Reproviderl`](#reprovider) - [`SupernodeRouting`](#supernoderouting) - [`Swarm`](#swarm) - [`Tour`](#tour) @@ -193,7 +193,9 @@ Mountpoint for `/ipns/`. - `FuseAllowOther` Sets the FUSE allow other option on the mountpoint. -## `ReproviderInterval` +## `Reprovider` + +- `Interval` Sets the time between rounds of reproviding local content to the routing system. If unset, it defaults to 12 hours. If set to the value `"0"` it will disable content reproviding. @@ -203,6 +205,12 @@ not being able to discover that you have the objects that you have. If you want to have this disabled and keep the network aware of what you have, you must manually announce your content periodically. +- `Strategy` +Tells reprovider what should be announced. Valid strategies are: + - "all" (default) - announce all stored data + - "pinned" - only announce pinned data + - "roots" - only announce directly pinned keys and root keys of recursive pins + ## `SupernodeRouting` Deprecated.