diff --git a/documentation/en/default-lotus-miner-config.toml b/documentation/en/default-lotus-miner-config.toml index a6a36f742..30dfd0268 100644 --- a/documentation/en/default-lotus-miner-config.toml +++ b/documentation/en/default-lotus-miner-config.toml @@ -277,7 +277,7 @@ # # type: bool # env var: LOTUS_INDEXPROVIDER_ENABLE - #Enable = false + #Enable = true # EntriesCacheCapacity sets the maximum capacity to use for caching the indexing advertisement # entries. Defaults to 1024 if not specified. The cache is evicted using LRU policy. The diff --git a/node/config/def.go b/node/config/def.go index edc7ffef5..c70ab2129 100644 --- a/node/config/def.go +++ b/node/config/def.go @@ -189,7 +189,7 @@ func DefaultStorageMiner() *StorageMiner { }, IndexProvider: IndexProviderConfig{ - Enable: false, + Enable: true, EntriesCacheCapacity: 1024, EntriesChunkSize: 16384, TopicName: "/indexer/ingest/mainnet", diff --git a/node/config/def_test.go b/node/config/def_test.go index 9601ee95b..4a3094e9e 100644 --- a/node/config/def_test.go +++ b/node/config/def_test.go @@ -73,6 +73,6 @@ func TestDefaultMinerRoundtrip(t *testing.T) { func TestDefaultStorageMiner_SetsIndexIngestTopic(t *testing.T) { subject := DefaultStorageMiner() - require.False(t, subject.IndexProvider.Enable) + require.True(t, subject.IndexProvider.Enable) require.Equal(t, "/indexer/ingest/mainnet", subject.IndexProvider.TopicName) }