mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-27 10:53:42 +02:00
WIP
This commit is contained in:
parent
e2c1922269
commit
c8b4c208e6
7 changed files with 137 additions and 11 deletions
|
|
@ -24,6 +24,7 @@ type Config struct {
|
|||
Name string `json:"name"`
|
||||
ShipApi string `json:"ship_api"`
|
||||
Api string `json:"api"`
|
||||
Transport string `json:"transport"`
|
||||
|
||||
Redis RedisConfig `json:"redis"`
|
||||
|
||||
|
|
@ -38,6 +39,7 @@ type Config struct {
|
|||
func Load(filename string) (Config, error) {
|
||||
|
||||
cfg := Config{
|
||||
Transport: "redis-channel",
|
||||
StartBlockNum: NULL_BLOCK_NUMBER,
|
||||
EndBlockNum: NULL_BLOCK_NUMBER,
|
||||
MaxMessagesInFlight: 10,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue