app/models/naf/historical_job.rb in naf-2.1.10 vs app/models/naf/historical_job.rb in naf-2.1.11
- old
+ new
@@ -311,7 +311,15 @@
def spawn
application_type.spawn(self)
end
+ def lock_for_runner_use(&block)
+ advisory_lock(&block)
+ end
+
+ def unlock_for_runner_use
+ advisory_unlock
+ end
+
end
end