refactor(sync): update mnode elect timer

This commit is contained in:
Minghao Li 2022-08-12 18:38:14 +08:00
parent 7530a7e2e3
commit e50f09aa4c
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ int32_t mndInitSync(SMnode *pMnode) {
// decrease election timer
setPingTimerMS(pMgmt->sync, 5000);
setElectTimerMS(pMgmt->sync, 3000);
setHeartbeatTimerMS(pMgmt->sync, 700);
setHeartbeatTimerMS(pMgmt->sync, 500);
/*
setElectTimerMS(pMgmt->sync, 600);
setHeartbeatTimerMS(pMgmt->sync, 300);