Skip to content

Commit

Permalink
Update archivable.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
northeastprince authored Dec 29, 2024
1 parent df75fe4 commit 128066e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/models/hackathon/website/archivable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ def archive_with(job_id)
end

class FollowUpJob < ApplicationJob
limits_concurrency to: 15, duration: 1.minute, group: "Wayback Machine", key: "API"
queue_as :low

def perform(hackathon, id)
hackathon.follow_up_on_archive(id)
end
Expand Down

0 comments on commit 128066e

Please sign in to comment.