Revision 85b6ed25 src/nebula/Nebula.cc

View differences:

src/nebula/Nebula.cc
669 669
    }
670 670

  
671 671
    // ---- Raft Manager ----
672

  
673
    const VectorAttribute * raft_leader_hook;
674
    const VectorAttribute * raft_follower_hook;
675

  
676
    raft_leader_hook   = nebula_configuration->get("RAFT_LEADER_HOOK");
677
    raft_follower_hook = nebula_configuration->get("RAFT_FOLLOWER_HOOK");
678

  
672 679
    try
673 680
    {
674
        raftm = new RaftManager(server_id, log_purge, bcast_ms, election_ms,
675
                xmlrpc_ms);
681
        raftm = new RaftManager(server_id, raft_leader_hook, raft_follower_hook,
682
                log_purge, bcast_ms, election_ms, xmlrpc_ms, remotes_location);
676 683
    }
677 684
    catch (bad_alloc&)
678 685
    {

Also available in: Unified diff