Remove lock on the table
This commit is contained in:
parent
31f68329b3
commit
7c6bc82991
|
@ -11,7 +11,6 @@ module AbfWorker
|
|||
|
||||
def real_perform
|
||||
@subject_class = BuildList
|
||||
subject.with_lock do
|
||||
unless subject.valid? && restart_task
|
||||
if options['feedback_from_user']
|
||||
user = User.find options['feedback_from_user']
|
||||
|
@ -70,7 +69,6 @@ module AbfWorker
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
|
|
Loading…
Reference in New Issue