app/models/concerns/external_services/action.rb in external_services-0.2.2 vs app/models/concerns/external_services/action.rb in external_services-0.2.3
- old
+ new
@@ -20,10 +20,10 @@
def execute!
raise NotImplementedError
end
def kick_active_job
- return if api_disabled?
+ return if processed? || api_disabled?
job_class.set(queue: queue).perform_later(id)
end
module ClassMethods