Use find_in_batches instead of destroy_all
Use find_in_batches instead of destroy_all

destroy_all loads all records at once

axilleas/gitlabhq,jirutka/gitlabhq,axilleas/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,iiet/iiet-git,iiet/iiet-git,jirutka/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,axilleas/gitlabhq,stoplightio/gitlabhq,jirutka/gitlabhq,stoplightio/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq,stoplightio/gitlabhq,axilleas/gitlabhq,jirutka/gitlabhq,iiet/iiet-git,iiet/iiet-git,mmkassem/gitlabhq,dreampet/gitlab,mmkassem/gitlabhq