Commit Graph

3 Commits

Author SHA1 Message Date
Zeger-Jan van de Weg d261f83626 Update Carrierwave and fog-core 2017-05-01 20:15:16 +00:00
Grzegorz Bizon 22ef066862 Avoid race condition when expiring artifacts
It may happen that job meant to remove expired artifacts will be
executed asynchronously when, in the meantime, project associated with
given build gets removed by another asynchronous job. In that case we
should not remove artifacts because such build will be removed anyway,
when project removal is complete.
2016-10-17 19:47:03 +02:00
Paco Guzman 9afb2dac5c ExpireBuildArtifactsWorker query builds table without ordering enqueuing one job per build to cleanup
We use Sidekiq::Client.push_bulk to avoid Redis round trips
2016-10-07 15:33:58 +02:00