Skip to content

Commit

Permalink
ipfs: increase reprovider interval
Browse files Browse the repository at this point in the history
  • Loading branch information
n8maninger committed Mar 12, 2024
1 parent b56acfc commit 5940398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipfs/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func NewNode(ctx context.Context, privateKey crypto.PrivKey, cfg config.IPFS, ds
providerOpts := []provider.Option{
provider.KeyProvider(provider.NewBlockstoreProvider(bs)),
provider.Online(frt),
provider.ReproviderInterval(10 * time.Hour),
provider.ReproviderInterval(18 * time.Hour),
}

prov, err := provider.New(ds, providerOpts...)
Expand Down

0 comments on commit 5940398

Please sign in to comment.