# Raft Leader Elect
__*election timeout*__
__*heartbeat time interval*__
__*raft-heartbeat-ticks*__
__*raft-election-timeout-ticks*__
__*raft-base-tick-interval*__
+ election timeout: raft-election-timeout-ticks
+ heartbeat time interval: raft-heartbeat-ticks
+ raft-heartbeat-ticks * raft-base-tick-interval
+ raft-election-timeout-ticks * raft-base-tick-interval

------------------------------------------------------------
Let's take a look at a few time concepts and parameters. First, we call election timeout, which indicates how long it takes for a node to initiate an elect in an unowned state. The corresponding parameter is raft-election-timeout-ticks, and the default value is 10. Another concept is the heartbeat time interval, which indicates the number of ticks passed when sending a heartbeat. The corresponding parameter is raft-heartbeat-ticks, and the default value is 2.

Note that these 2 parameters are all expressed by the number of ticks, so how long does a tick indicate, the time corresponding to one tick is indicated by the parameter raft-base-tick-interval, and its default value is 1 second.