Skip to content

Commit 45516d7

Browse files
Honor Loops' rate limit
1 parent 488cb9b commit 45516d7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/jobs/loops_synchronization_job.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
class LoopsSynchronizationJob < ApplicationJob
2+
limits_concurrency to: 5, duration: 1.second, key: "Loops"
23
queue_as :low
34

45
def perform(user)

0 commit comments

Comments
 (0)