refactor(sync): delete timeout check

This commit is contained in:
Minghao Li 2022-07-23 19:54:56 +08:00
parent 0b494d256f
commit dcdb7144c4
2 changed files with 5 additions and 2 deletions

View File

@ -26,7 +26,7 @@ extern "C" {
extern bool gRaftDetailLog;
#define SYNC_RESP_TTL_MS 10000
#define SYNC_RESP_TTL_MS 10000000
#define SYNC_MAX_BATCH_SIZE 500
#define SYNC_INDEX_BEGIN 0

View File

@ -19,11 +19,14 @@
#include "syncRespMgr.h"
int32_t syncNodeTimerRoutine(SSyncNode* ths) {
syncNodeEventLog(ths, "timer routines ... ");
syncNodeEventLog(ths, "timer routines");
#if 0
if (ths->vgId != 1) {
syncRespClean(ths->pSyncRespMgr);
}
#endif
return 0;
}