https://github.com/ipfs/go-ipfs
Raw File
Tip revision: 505f072d2871c7a27011bd2279b5d3880756abc1 authored by galargh on 30 January 2023, 11:53:20 UTC
docs: add full v0.18.1 changelog
Tip revision: 505f072
reprovider.go
package config

import "time"

const DefaultReproviderInterval = time.Hour * 22 // https://github.com/ipfs/kubo/pull/9326
const DefaultReproviderStrategy = "all"

type Reprovider struct {
	Interval *OptionalDuration `json:",omitempty"` // Time period to reprovide locally stored objects to the network
	Strategy *OptionalString   `json:",omitempty"` // Which keys to announce
}
back to top