mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-21 18:37:45 +08:00
* feat(bootstrap): save connected peers as backup temporary bootstrap ones * fix: do not add duplicated oldSavedPeers, not using tags, reuse randomizeList * test: add regression test * chore: add changelog --------- Co-authored-by: Henrique Dias <hacdias@gmail.com> Co-authored-by: Marcin Rataj <lidel@lidel.org>
18 lines
668 B
Go
18 lines
668 B
Go
package config
|
|
|
|
type Internal struct {
|
|
// All marked as omitempty since we are expecting to make changes to all subcomponents of Internal
|
|
Bitswap *InternalBitswap `json:",omitempty"`
|
|
UnixFSShardingSizeThreshold *OptionalString `json:",omitempty"`
|
|
Libp2pForceReachability *OptionalString `json:",omitempty"`
|
|
BackupBootstrapInterval *OptionalDuration `json:",omitempty"`
|
|
}
|
|
|
|
type InternalBitswap struct {
|
|
TaskWorkerCount OptionalInteger
|
|
EngineBlockstoreWorkerCount OptionalInteger
|
|
EngineTaskWorkerCount OptionalInteger
|
|
MaxOutstandingBytesPerPeer OptionalInteger
|
|
ProviderSearchDelay OptionalDuration
|
|
}
|