We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4e9bcb commit 01da0acCopy full SHA for 01da0ac
1 file changed
app/commands/user/sync_to_kit.rb
@@ -12,6 +12,8 @@ def call
12
13
new_sub = add_subscriber!
14
add_to_form! if new_sub
15
+ rescue RestClient::TooManyRequests
16
+ requeue_job!(rand(10..119)) # Backoff for between 10 and 120 seconds (space them out)
17
end
18
19
private
0 commit comments