Add raft component to general config file for experiments.
This commit is contained in:
25
config.json
25
config.json
@@ -5,5 +5,30 @@
|
||||
"port":1883,
|
||||
"timeout":60,
|
||||
"swarm": "swarm1"
|
||||
},
|
||||
"raft":
|
||||
{
|
||||
"min_election_timeout": 8,
|
||||
"varying_election_timeout": 2,
|
||||
"majority": 2
|
||||
},
|
||||
"messaging":
|
||||
{
|
||||
"me":
|
||||
{
|
||||
"ip": "127.0.0.1",
|
||||
"port": 50051
|
||||
},
|
||||
"neighbours":
|
||||
[
|
||||
{
|
||||
"ip": "127.0.0.1",
|
||||
"port": 50052
|
||||
},
|
||||
{
|
||||
"ip": "127.0.0.1",
|
||||
"port": 50053
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user