https://github.com/ipfs/go-ipfs
Raw File
Tip revision: 7edf86c3b3bd210b65ba58ef439408e46afbfbb5 authored by galargh on 23 January 2023, 13:18:01 UTC
docs: update changelog
Tip revision: 7edf86c
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