Skip to content

Commit 9cb2aca

Browse files
committed
Retry on Timeout::Error in ScreenshotTakerJob
1 parent 4bec8a9 commit 9cb2aca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/jobs/screenshot_taker_job.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
require "aws-sdk-s3"
44

55
class ScreenshotTakerJob < ApplicationJob
6+
retry_on Timeout::Error, wait: :polynomially_longer
7+
68
queue_as :low
79

810
def perform(shot)

0 commit comments

Comments
 (0)