Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (26 sloc) 612 Bytes
tickTime=2000
initLimit=10
syncLimit=5
dataDir=./$servername:$clientPort/data
clientPort=$clientPort
#if $maxClientCnxns != 10
maxClientCnxns=$maxClientCnxns
#end if
#if len($serverlist) > 1
#if $electionAlg != 3
electionAlg=$electionAlg
#end if
#for $sid, $servername, $clientport, $port1, $port2 in $serverlist
server.$sid=$servername:$port1:$port2
#end for
#if len($weights) > 0
#for $sid, $servername, $clientport, $port1, $port2 in $serverlist
weight.$sid=$weights[$sid - 1]
#end for
#end if
#if len($groups) > 0
#for $i in xrange(1, len($groups) + 1)
group.$i=$groups[$i - 1]
#end for
#end if
#end if
Jump to Line
Something went wrong with that request. Please try again.