Fixed restarting of RPM tasks

This commit is contained in:
Vokhmin Alexey V 2013-10-18 23:18:19 +04:00
parent a5aa0b5110
commit 84737c771d
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ module AbfWorker
else else
redis.lpush RESTARTED_BUILD_LISTS, subject.id redis.lpush RESTARTED_BUILD_LISTS, subject.id
subject.update_column(:status, BuildList::BUILD_PENDING) subject.update_column(:status, BuildList::BUILD_PENDING)
subject.add_job_to_abf_worker_queue subject.add_job_to_abf_worker_queue if subject.external_nodes.blank?
return true return true
end end
end end