mirror of
https://github.com/cerc-io/watcher-ts
synced 2024-11-19 20:36:19 +00:00
71d34331e9
* Deprecate postgraphile usage * Change endpoint in watcher config * Remove subscription queries from eth-client * Remove postgraphile config and client from watchers Co-authored-by: nabarun <nabarun@deepstacksoft.com>
31 lines
662 B
TOML
31 lines
662 B
TOML
[server]
|
|
host = "127.0.0.1"
|
|
port = 3003
|
|
|
|
[database]
|
|
type = "postgres"
|
|
host = "localhost"
|
|
port = 5432
|
|
database = "uni-watcher"
|
|
username = "postgres"
|
|
password = "postgres"
|
|
synchronize = true
|
|
logging = false
|
|
|
|
[upstream]
|
|
[upstream.ethServer]
|
|
gqlApiEndpoint = "http://127.0.0.1:8082/graphql"
|
|
rpcProviderEndpoint = "http://127.0.0.1:8545"
|
|
blockDelayInMilliSecs = 2000
|
|
|
|
[upstream.cache]
|
|
name = "requests"
|
|
enabled = false
|
|
deleteOnStart = false
|
|
|
|
[jobQueue]
|
|
dbConnectionString = "postgres://postgres:postgres@localhost/uni-watcher-job-queue"
|
|
maxCompletionLagInSecs = 300
|
|
jobDelayInMilliSecs = 100
|
|
eventsInBatch = 50
|