diff --git a/config.json b/config.json index a7e5b88..5c2a972 100644 --- a/config.json +++ b/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 + } + ] } } \ No newline at end of file