mirror of
https://github.com/GrassrootsEconomics/cic-dw.git
synced 2024-12-22 19:07:33 +01:00
Mohammed Sohail
37538c68ff
- see docs for pagination api usage - added control for syncer/api goroutines
28 lines
582 B
TOML
28 lines
582 B
TOML
[db]
|
|
postgres = "postgresql://postgres:postgres@127.0.0.1:5432/cic_dw"
|
|
redis = "redis://127.0.0.1:6379/0"
|
|
|
|
[server]
|
|
address = ":3000"
|
|
cors = [
|
|
"https://dashboard.sarafu.network",
|
|
"https://dashboard.grassecon.org",
|
|
"https://dashboard.grassrootseconomics.org",
|
|
"http://localhost:3000"
|
|
]
|
|
|
|
[chain]
|
|
index = "0x5A1EB529438D8b3cA943A45a48744f4c73d1f098"
|
|
balances_resolver = "0xb9e215B789e9Ec6643Ba4ff7b98EA219F38c6fE5"
|
|
rpc = "http://127.0.0.1:8545"
|
|
|
|
[syncer]
|
|
enabled = true
|
|
|
|
[api]
|
|
enabled = true
|
|
|
|
[syncers]
|
|
cache = "@every 20s"
|
|
ussd = "@every 30s"
|
|
token = "@every 1m" |