Skip to content

Commit 0b434a6

Browse files
committed
fix: rate_limiter_bandwidth_ overflow
1 parent 7be1b42 commit 0b434a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pika_conf.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ int PikaConf::Load() {
451451
rate_limiter_auto_tuned_ = at == "yes" || at.empty();
452452
// if rate limiter autotune enable, `rate_limiter_bandwidth_` will still be respected as an upper-bound.
453453
if (rate_limiter_auto_tuned_) {
454-
rate_limiter_bandwidth_ = 10 * 1024 * 1024 * 1024; // 10GB/s
454+
rate_limiter_bandwidth_ = 10LL * 1024 * 1024 * 1024; // 10GB/s
455455
}
456456

457457
// max_write_buffer_num

0 commit comments

Comments
 (0)