Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-22Enable frozen string for lib/gitlab/*.rbgfyoung
2018-03-09Add rake task to cleanup any existing exclusive leaseGabriel Mazetto
2018-01-05Run background migrations with a minimum intervalYorick Peterse
This adds a minimum interval to BackgroundMigrationWorker, ensuring background migrations of the same class only run once every 5 minutes. This prevents a thundering herd problem where scheduled migrations all run at once due to their delays having been expired (e.g. as the result of a queue being paused for a long time). If a job was recently executed it's rescheduled with a delay that equals the remaining time of the job's lease. This means that if the lease expires in two minutes we only need to wait two minutes, instead of five. Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/41624
2017-09-07Adds exclusive lease to Git garbage collect worker.Tiago Botelho
2017-07-11Support multiple Redis instances based on queue typePaul Charlton
2017-06-24Introduce #renew for ExclusiveLeaseGabriel Mazetto
2017-02-23Enable Style/MutableConstantDouwe Maan
2016-11-04Refine Git garbage collectionJacob Vosmaer
2016-10-25Don't schedule ProjectCacheWorker unless neededYorick Peterse
This changes ProjectCacheWorker.perform_async so it only schedules a job when no lease for the given project is present. This ensures we don't end up scheduling hundreds of jobs when they won't be executed anyway.
2016-04-13clean up ExclusiveLeaseValery Sizov
2016-04-04Add Gitlab::Redis connection poolJacob Vosmaer
2016-03-24Explain why ExclusiveLease has no #cancelJacob Vosmaer
[ci skip]
2016-03-10TypoJacob Vosmaer
2016-03-10Make comment less ambivalentJacob Vosmaer
2016-03-10Remove unnecessary random keyJacob Vosmaer
2016-03-10Improve commentJacob Vosmaer
2016-03-10Move method to UserJacob Vosmaer
2016-03-10Rename ExpiringLock to ExclusiveLeaseJacob Vosmaer