about summary refs log tree commit diff
path: root/app/workers/concerns/exponential_backoff.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-17 22:30:23 -0500
committerGitHub <noreply@github.com>2023-02-18 04:30:23 +0100
commita6f77aa28ae805e89b0a38c468b7193050174df4 (patch)
treec1ce6315964b84abd58f07b7a0e5b033c0b2e972 /app/workers/concerns/exponential_backoff.rb
parente2567df86063b537e4a3ab2afd5c28a54140f720 (diff)
Autofix Rubocop Lint/AmbiguousOperatorPrecedence (#23681)
Diffstat (limited to 'app/workers/concerns/exponential_backoff.rb')
-rw-r--r--app/workers/concerns/exponential_backoff.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/concerns/exponential_backoff.rb b/app/workers/concerns/exponential_backoff.rb
index f2b931e33..7626b2151 100644
--- a/app/workers/concerns/exponential_backoff.rb
+++ b/app/workers/concerns/exponential_backoff.rb
@@ -5,7 +5,7 @@ module ExponentialBackoff
 
   included do
     sidekiq_retry_in do |count|
-      15 + 10 * (count**4) + rand(10 * (count**4))
+      15 + (10 * (count**4)) + rand(10 * (count**4))
     end
   end
 end