Skip to content

Commit

Permalink
revert config changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aarshkshah1992 committed Sep 14, 2024
1 parent 1da1e07 commit efe90f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions documentation/en/default-lotus-config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@
#
# type: bool
# env var: LOTUS_FEVM_ENABLEETHRPC
#EnableEthRPC = false
#EnableEthRPC = true

# EthTraceFilterMaxResults sets the maximum results returned per request by trace_filter
#
Expand Down Expand Up @@ -260,7 +260,7 @@
#
# type: bool
# env var: LOTUS_EVENTS_ENABLEACTOREVENTSAPI
#EnableActorEventsAPI = false
#EnableActorEventsAPI = true

# FilterTTL specifies the time to live for actor event filters. Filters that haven't been accessed longer than
# this time become eligible for automatic deletion. Filters consume resources, so if they are unused they
Expand Down Expand Up @@ -306,7 +306,7 @@
#
# type: bool
# env var: LOTUS_CHAININDEXER_DISABLEINDEXER
#DisableIndexer = true
#DisableIndexer = false

# GCRetentionEpochs specifies the number of epochs for which data is retained in the Indexer.
# The garbage collection (GC) process removes data older than this retention period.
Expand Down
6 changes: 3 additions & 3 deletions node/config/def.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,20 @@ func DefaultFullNode() *FullNode {
},
},
Fevm: FevmConfig{
EnableEthRPC: false,
EnableEthRPC: true,
EthTraceFilterMaxResults: 500,
EthBlkCacheSize: 500,
},
Events: EventsConfig{
DisableRealTimeFilterAPI: false,
EnableActorEventsAPI: false,
EnableActorEventsAPI: true,
FilterTTL: Duration(time.Hour * 1),
MaxFilters: 100,
MaxFilterResults: 10000,
MaxFilterHeightRange: 2880, // conservative limit of one day
},
ChainIndexer: ChainIndexerConfig{
DisableIndexer: true,
DisableIndexer: false,
GCRetentionEpochs: 0,
ReconcileEmptyIndex: false,
MaxReconcileTipsets: 3 * builtin.EpochsInDay,
Expand Down

0 comments on commit efe90f8

Please sign in to comment.