Skip to content

Commit

Permalink
Uplift of #26759 (squashed) to beta
Browse files Browse the repository at this point in the history
  • Loading branch information
brave-builds committed Nov 27, 2024
1 parent 857ab53 commit 9e92fdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ bool BackoffTimer::Stop() {

base::TimeDelta BackoffTimer::CalculateDelay(const base::TimeDelta delay) {
int64_t delay_in_seconds = delay.InSeconds();
delay_in_seconds <<= ++backoff_count_;
delay_in_seconds <<= backoff_count_++;

base::TimeDelta backoff_delay = base::Seconds(delay_in_seconds);
if (backoff_delay > max_backoff_delay_) {
Expand Down

0 comments on commit 9e92fdb

Please sign in to comment.