[CP] Fix parallel create conflict problem

This commit is contained in:
tino247
2024-02-07 03:25:45 +00:00
committed by ob-robot
parent b18cca536f
commit be2fe9dfce
4 changed files with 12 additions and 3 deletions

View File

@ -130,6 +130,7 @@ public:
void destroy() { init_ = false; }
bool is_inited() const { return init_; }
void set_timeout(int64_t timeout) { timeout_ = timeout; }
int64_t get_timeout() const { return timeout_; }
void set_trace_time(const bool is_trace_time) { is_trace_time_ = is_trace_time; }
void set_ratelimit(const bool do_ratelimit) { do_ratelimit_ = do_ratelimit; }
void set_bg_flow(const int8_t is_bg_flow) { is_bg_flow_ = is_bg_flow;}