mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 05:00:22 +00:00
Fix missing concurrency key in background job
This commit is contained in:
parent
c056db3a1e
commit
84c2e00a95
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ class LeaderboardUpdateJob < ApplicationJob
|
|||
|
||||
# Limits concurrency to 1 job per date
|
||||
good_job_control_concurrency_with(
|
||||
key: -> { date&.to_s || Date.current.to_s },
|
||||
key: -> { arguments.first || Date.current.to_s },
|
||||
total: 1,
|
||||
drop: true
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue