downgrade single ls submit replay log task interval to 100ms
This commit is contained in:
@ -192,8 +192,8 @@ private:
|
|||||||
// 析构前调用,归还所有日志流的replay status计数
|
// 析构前调用,归还所有日志流的replay status计数
|
||||||
int remove_all_ls_();
|
int remove_all_ls_();
|
||||||
private:
|
private:
|
||||||
const int64_t MAX_REPLAY_TIME_PER_ROUND = 100 * 1000; //100ms
|
const int64_t MAX_REPLAY_TIME_PER_ROUND = 10 * 1000; //10ms
|
||||||
const int64_t MAX_SUBMIT_TIME_PER_ROUND = 1000 * 1000; //1s
|
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 TASK_QUEUE_WAIT_IN_GLOBAL_QUEUE_TIME_THRESHOLD = 5 * 1000 * 1000; //5s
|
||||||
const int64_t PENDING_TASK_MEMORY_LIMIT = 128 * (1LL << 20); //128MB
|
const int64_t PENDING_TASK_MEMORY_LIMIT = 128 * (1LL << 20); //128MB
|
||||||
|
|
||||||
|
@ -154,6 +154,8 @@ public:
|
|||||||
K(replay_hint_),
|
K(replay_hint_),
|
||||||
K(is_raw_write_),
|
K(is_raw_write_),
|
||||||
K(first_handle_ts_),
|
K(first_handle_ts_),
|
||||||
|
K(replay_cost_),
|
||||||
|
K(retry_cost_),
|
||||||
KP(log_buf_));
|
KP(log_buf_));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user