Skip to content

Commit

Permalink
config: update default config for all services (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
yutianwu authored Sep 13, 2022
1 parent acfa658 commit 1d25dcc
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
3 changes: 2 additions & 1 deletion service/apiserver/etc/server-api.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ CacheRedis:
LogConf:
ServiceName: api-server
Mode: console
Encoding: plain
Path: ./log/api-server
StackCooldownMillis: 500
Level: error
Level: info

CoinMarketCap:
Url: https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/latest?symbol=
Expand Down
8 changes: 8 additions & 0 deletions service/monitor/etc/config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,13 @@ ChainConfig:
ConfirmBlocksCount: 0
MaxHandledBlocksCount: 5000

LogConf:
ServiceName: monitor
Mode: console
Encoding: plain
Path: ./log/monitor
StackCooldownMillis: 500
Level: info

TreeDB:
Driver: memorydb
5 changes: 2 additions & 3 deletions service/prover/etc/config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ BlockConfig:
LogConf:
ServiceName: prover
Mode: console
Encoding: plain
Path: ./log/prover
StackCooldownMillis: 500
Level: error


Level: info
3 changes: 2 additions & 1 deletion service/sender/etc/config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ ChainConfig:
LogConf:
ServiceName: sender
Mode: console
Encoding: plain
Path: ./log/sender
StackCooldownMillis: 500
Level: error
Level: info
3 changes: 2 additions & 1 deletion service/witness/etc/config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ TreeDB:
LogConf:
ServiceName: witness
Mode: console
Encoding: plain
Path: ./log/witness
StackCooldownMillis: 500
Level: error
Level: info

0 comments on commit 1d25dcc

Please sign in to comment.