From 8459d75597df8c0e9b09d11abb80fc8637139f48 Mon Sep 17 00:00:00 2001 From: Aarsh Shah Date: Thu, 13 Jan 2022 16:15:43 +0400 Subject: [PATCH] update index provider config --- node/config/def.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/node/config/def.go b/node/config/def.go index 838418e8c..f8c4b9ba0 100644 --- a/node/config/def.go +++ b/node/config/def.go @@ -233,11 +233,7 @@ func DefaultStorageMiner() *StorageMiner { // TODO: Remove hardcoded defaults once provider library exposes them. // See: https://github.com/filecoin-project/index-provider/issues/108 - cfg.IndexerProvider.Ingest = ipconfig.Ingest{ - LinkCacheSize: 1024, - LinkedChunkSize: 100, - PubSubTopic: "indexer/ingest", - } + cfg.IndexerProvider.Ingest = ipconfig.NewIngest() cfg.Common.API.ListenAddress = "/ip4/127.0.0.1/tcp/2345/http" cfg.Common.API.RemoteListenAddress = "127.0.0.1:2345"