Skip to content

Commit

Permalink
fix rate-limiter default value error (OpenAtomFoundation#2122)
Browse files Browse the repository at this point in the history
Co-authored-by: wangshaoyi <[email protected]>
  • Loading branch information
wangshao1 and wangshaoyi authored Nov 16, 2023
1 parent c6f4cd2 commit 2cf4993
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/pika_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -673,9 +673,9 @@ class PikaConf : public pstd::BaseConf {
bool pin_l0_filter_and_index_blocks_in_cache_ = false;
bool optimize_filters_for_hits_ = false;
bool level_compaction_dynamic_level_bytes_ = false;
int64_t rate_limiter_bandwidth_ = 200 * 1024 * 1024; // 200M
int64_t rate_limiter_refill_period_us_ = 100 * 1000;
int64_t rate_limiter_fairness_ = 10;
int64_t rate_limiter_bandwidth_ = 0;
int64_t rate_limiter_refill_period_us_ = 0;
int64_t rate_limiter_fairness_ = 0;
bool rate_limiter_auto_tuned_ = true;

std::atomic<int> sync_window_size_;
Expand Down

0 comments on commit 2cf4993

Please sign in to comment.