Skip to content

Commit ba88e74

Browse files
authored
Add new config to related service (#1257)
1 parent b1db205 commit ba88e74

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

deployment/prefect/config.toml

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
[API]
2+
ListenAddress = "/ip4/127.0.0.1/tcp/1234/http"
3+
RemoteListenAddress = ""
4+
Timeout = "30s"
5+
6+
[Backup]
7+
DisableMetadataLog = false
8+
9+
[Logging]
10+
11+
[Libp2p]
12+
ListenAddresses = ["/ip4/0.0.0.0/tcp/0", "/ip6/::/tcp/0"]
13+
AnnounceAddresses = []
14+
NoAnnounceAddresses = []
15+
DisableNatPortMap = false
16+
ConnMgrLow = 150
17+
ConnMgrHigh = 180
18+
ConnMgrGrace = "20s"
19+
20+
[Pubsub]
21+
Bootstrapper = false
22+
RemoteTracer = "/dns4/pubsub-tracer.filecoin.io/tcp/4001/p2p/QmTd6UvR47vUidRNZ1ZKXHrAFhqTJAD27rKL9XYghEKgKX"
23+
24+
[Client]
25+
UseIpfs = false
26+
IpfsOnlineMode = false
27+
IpfsMAddr = ""
28+
IpfsUseForRetrieval = false
29+
SimultaneousTransfersForStorage = 20
30+
SimultaneousTransfersForRetrieval = 20
31+
OffChainRetrieval = false
32+
33+
[Chainstore]
34+
EnableSplitstore = true
35+
[Chainstore.Splitstore]
36+
ColdStoreType = "discard"
37+
HotStoreFullGCFrequency = 0
38+
HotStoreMaxSpaceTarget = 0
39+
40+
[Fevm]
41+
# EnableEthRPC enables eth_ rpc, and enables storing a mapping of eth transaction hashes to filecoin message Cids.
42+
# This will also enable the RealTimeFilterAPI and HistoricFilterAPI by default, but they can be disabled by config options above.
43+
#
44+
# type: bool
45+
# env var: LOTUS_FEVM_ENABLEETHRPC
46+
EnableEthRPC = true
47+
48+
[Storage]
49+
[Storage.File]
50+
[Storage.File.CSV]
51+
Format = "CSV"
52+
Path = "/tmp"
53+
OmitHeader = false
54+
FilePattern = "{table}.csv"
55+
[Storage.Postgresql]
56+
[Storage.Postgresql.Database1]
57+
URLEnv = "LILY_STORAGE_POSTGRESQL_DB_URL"
58+
ApplicationName = "lily"
59+
SchemaName = "visor"
60+
PoolSize = 20
61+
AllowUpsert = true

0 commit comments

Comments
 (0)