Remove lock on the table

This commit is contained in:
Wedge 2018-04-09 15:04:16 +03:00
parent 31f68329b3
commit 7c6bc82991
1 changed files with 52 additions and 54 deletions

View File

@ -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