Commit bef6e6fd authored by willem's avatar willem
Browse files

Refactoring

parent 220ef621
language: c
before_install:
- sudo pip install cpp-coveralls --use-mirrors
script:
......
......@@ -114,7 +114,6 @@ void raft_become_candidate(raft_server_t* me_)
/* we need a random factor here to prevent simultaneous candidates */
me->timeout_elapsed = rand() % 500;
/* request votes from nodes */
for (i=0; i<me->num_nodes; i++)
{
if (me->nodeid == i) continue;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment