Fixed restarting of RPM tasks
This commit is contained in:
parent
a5aa0b5110
commit
84737c771d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue