8 lines
162 B
Ruby
8 lines
162 B
Ruby
|
class DataPrivacyTaskJob < ApplicationJob
|
||
|
include HasActiveJobLock
|
||
|
|
||
|
def perform
|
||
|
DataPrivacyTask.where(state: 'in process').find_each(&:perform)
|
||
|
end
|
||
|
end
|