https://github.com/ipfs/go-ipfs
Revision 89c029dc4c5df9810bbfd5fd5f0a22322f51f44a authored by Piotr Galar on 03 July 2023, 06:29:00 UTC, committed by GitHub on 03 July 2023, 06:29:00 UTC
1 parent 9d186dd
Raw File
Tip revision: 89c029dc4c5df9810bbfd5fd5f0a22322f51f44a authored by Piotr Galar on 03 July 2023, 06:29:00 UTC
ci: disable js-rv-js tests in interop (#10007)
Tip revision: 89c029d
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