downgrade single ls submit replay log task interval to 100ms

This commit is contained in:
obdev
2022-11-13 12:11:34 +08:00
committed by wangzelin.wzl
parent 589a5e707b
commit e38aace24d
3 changed files with 13 additions and 11 deletions

View File

@ -192,8 +192,8 @@ private:
// 析构前调用,归还所有日志流的replay status计数
int remove_all_ls_();
private:
const int64_t MAX_REPLAY_TIME_PER_ROUND = 100 * 1000; //100ms
const int64_t MAX_SUBMIT_TIME_PER_ROUND = 1000 * 1000; //1s
const int64_t MAX_REPLAY_TIME_PER_ROUND = 10 * 1000; //10ms
const int64_t MAX_SUBMIT_TIME_PER_ROUND = 100 * 1000; //100ms
const int64_t TASK_QUEUE_WAIT_IN_GLOBAL_QUEUE_TIME_THRESHOLD = 5 * 1000 * 1000; //5s
const int64_t PENDING_TASK_MEMORY_LIMIT = 128 * (1LL << 20); //128MB

View File

@ -154,6 +154,8 @@ public:
K(replay_hint_),
K(is_raw_write_),
K(first_handle_ts_),
K(replay_cost_),
K(retry_cost_),
KP(log_buf_));
};