refactor(sync): modify elect/heartbeat timer

This commit is contained in:
Minghao Li 2022-07-15 18:05:51 +08:00
parent 33e4b35380
commit b86ec034db
1 changed files with 2 additions and 2 deletions

View File

@ -584,8 +584,8 @@ int32_t vnodeSyncOpen(SVnode *pVnode, char *path) {
}
setPingTimerMS(pVnode->sync, 5000);
setElectTimerMS(pVnode->sync, 500);
setHeartbeatTimerMS(pVnode->sync, 100);
setElectTimerMS(pVnode->sync, 1300);
setHeartbeatTimerMS(pVnode->sync, 900);
return 0;
}