Skip to content

Commit

Permalink
Honor Loops' rate limit (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
northeastprince authored Jan 21, 2025
1 parent 9c24b95 commit 68cd52b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/jobs/loops_synchronization_job.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class LoopsSynchronizationJob < ApplicationJob
rate_limit to: 3, within: 1.second
queue_as :low

def perform(user)
Expand Down

0 comments on commit 68cd52b

Please sign in to comment.