Typo fix
This commit is contained in:
parent
31251dd49b
commit
198def949b
|
@ -104,7 +104,7 @@ class Api::V1::JobsController < Api::V1::BaseController
|
|||
def clear_stale_builders
|
||||
BuildList.transaction do
|
||||
BuildList.where(["updated_at < ?", 120.seconds.ago]).where(status: BuildList::BUILD_PENDING).where.not(builder: nil).find_each(batch_size: 50) do |bl|
|
||||
bl.update_column(builder_id: nil)
|
||||
bl.update_column(:builder_id, nil)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue