update index provider config

This commit is contained in:
Aarsh Shah 2022-01-13 16:15:43 +04:00
parent b780a64ed9
commit 8459d75597

View File

@ -233,11 +233,7 @@ func DefaultStorageMiner() *StorageMiner {
// TODO: Remove hardcoded defaults once provider library exposes them. // TODO: Remove hardcoded defaults once provider library exposes them.
// See: https://github.com/filecoin-project/index-provider/issues/108 // See: https://github.com/filecoin-project/index-provider/issues/108
cfg.IndexerProvider.Ingest = ipconfig.Ingest{ cfg.IndexerProvider.Ingest = ipconfig.NewIngest()
LinkCacheSize: 1024,
LinkedChunkSize: 100,
PubSubTopic: "indexer/ingest",
}
cfg.Common.API.ListenAddress = "/ip4/127.0.0.1/tcp/2345/http" cfg.Common.API.ListenAddress = "/ip4/127.0.0.1/tcp/2345/http"
cfg.Common.API.RemoteListenAddress = "127.0.0.1:2345" cfg.Common.API.RemoteListenAddress = "127.0.0.1:2345"