Skip to content

Commit

Permalink
Add new config to related service (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
Terryhung authored Aug 29, 2023
1 parent b1db205 commit ba88e74
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions deployment/prefect/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
[API]
ListenAddress = "/ip4/127.0.0.1/tcp/1234/http"
RemoteListenAddress = ""
Timeout = "30s"

[Backup]
DisableMetadataLog = false

[Logging]

[Libp2p]
ListenAddresses = ["/ip4/0.0.0.0/tcp/0", "/ip6/::/tcp/0"]
AnnounceAddresses = []
NoAnnounceAddresses = []
DisableNatPortMap = false
ConnMgrLow = 150
ConnMgrHigh = 180
ConnMgrGrace = "20s"

[Pubsub]
Bootstrapper = false
RemoteTracer = "/dns4/pubsub-tracer.filecoin.io/tcp/4001/p2p/QmTd6UvR47vUidRNZ1ZKXHrAFhqTJAD27rKL9XYghEKgKX"

[Client]
UseIpfs = false
IpfsOnlineMode = false
IpfsMAddr = ""
IpfsUseForRetrieval = false
SimultaneousTransfersForStorage = 20
SimultaneousTransfersForRetrieval = 20
OffChainRetrieval = false

[Chainstore]
EnableSplitstore = true
[Chainstore.Splitstore]
ColdStoreType = "discard"
HotStoreFullGCFrequency = 0
HotStoreMaxSpaceTarget = 0

[Fevm]
# EnableEthRPC enables eth_ rpc, and enables storing a mapping of eth transaction hashes to filecoin message Cids.
# This will also enable the RealTimeFilterAPI and HistoricFilterAPI by default, but they can be disabled by config options above.
#
# type: bool
# env var: LOTUS_FEVM_ENABLEETHRPC
EnableEthRPC = true

[Storage]
[Storage.File]
[Storage.File.CSV]
Format = "CSV"
Path = "/tmp"
OmitHeader = false
FilePattern = "{table}.csv"
[Storage.Postgresql]
[Storage.Postgresql.Database1]
URLEnv = "LILY_STORAGE_POSTGRESQL_DB_URL"
ApplicationName = "lily"
SchemaName = "visor"
PoolSize = 20
AllowUpsert = true

0 comments on commit ba88e74

Please sign in to comment.