mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-19 20:36:19 +00:00
nikugogoi
9d95e49ec9
* Implement pull based watcher for uni-watcher * Fix same block processed multiple times * Implement wait time for fetching block from config * Use blockProgress event to fetch and process next block * Rename utils index to misc
33 lines
743 B
TOML
33 lines
743 B
TOML
[server]
|
|
host = "127.0.0.1"
|
|
port = 3001
|
|
mode = "eth_call"
|
|
kind = "lazy"
|
|
|
|
[database]
|
|
type = "postgres"
|
|
host = "localhost"
|
|
port = 5432
|
|
database = "erc20-watcher"
|
|
username = "postgres"
|
|
password = "postgres"
|
|
synchronize = true
|
|
logging = false
|
|
|
|
[upstream]
|
|
[upstream.ethServer]
|
|
gqlApiEndpoint = "http://127.0.0.1:8082/graphql"
|
|
gqlPostgraphileEndpoint = "http://127.0.0.1:5000/graphql"
|
|
rpcProviderEndpoint = "http://127.0.0.1:8081"
|
|
blockDelayInMilliSecs = 2000
|
|
|
|
[upstream.cache]
|
|
name = "requests"
|
|
enabled = false
|
|
deleteOnStart = false
|
|
|
|
[jobQueue]
|
|
dbConnectionString = "postgres://postgres:postgres@localhost/erc20-watcher-job-queue"
|
|
maxCompletionLagInSecs = 300
|
|
jobDelayInMilliSecs = 100
|