Skip to content

Commit 128066e

Browse files
Update archivable.rb
1 parent df75fe4 commit 128066e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/models/hackathon/website/archivable.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ def archive_with(job_id)
4646
end
4747

4848
class FollowUpJob < ApplicationJob
49+
limits_concurrency to: 15, duration: 1.minute, group: "Wayback Machine", key: "API"
50+
queue_as :low
51+
4952
def perform(hackathon, id)
5053
hackathon.follow_up_on_archive(id)
5154
end

0 commit comments

Comments
 (0)