Skip to content

Commit 4f4701a

Browse files
dmitrytragerdcollie2
authored andcommitted
Update param names for concurrency limit
1 parent 9f20ac7 commit 4f4701a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/jobs/file_upload_job.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
class FileUploadJob < ApplicationJob
22
# Consider removing concurrency limits due to SolidQueue blocking issues
33
# or use a more specific key to avoid blocking all jobs for a language
4-
limits_concurrency to: 3, key: ->(_language_id, _content_id, _content_type) { "hard-limit" }
4+
limits_concurrency to: 3, key: ->(*args) { "hard-limit" }
55

66
retry_on AzureFileShares::Errors::ApiError, wait: :exponentially_longer, attempts: 3
77
retry_on Timeout::Error, wait: :exponentially_longer, attempts: 2

0 commit comments

Comments
 (0)