Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Run background migrations with a minimum intervaldelay-background-migrations | Yorick Peterse | 2018-01-05 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | 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 | ||||
* | Adds exclusive lease to Git garbage collect worker.35558-only-one-garbage-collection-should-be-running-per-project-at-once | Tiago Botelho | 2017-09-07 | 1 | -2/+8 |
| | |||||
* | Support multiple Redis instances based on queue type | Paul Charlton | 2017-07-11 | 1 | -10/+10 |
| | |||||
* | Introduce #renew for ExclusiveLeasebackport-renew-exclusive-lease | Gabriel Mazetto | 2017-06-24 | 1 | -1/+18 |
| | |||||
* | Enable Style/MutableConstant | Douwe Maan | 2017-02-23 | 1 | -1/+1 |
| | |||||
* | Refine Git garbage collection | Jacob Vosmaer | 2016-11-04 | 1 | -40/+26 |
| | |||||
* | Don't schedule ProjectCacheWorker unless neededproject-cache-worker-scheduling | Yorick Peterse | 2016-10-25 | 1 | -1/+8 |
| | | | | | | 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. | ||||
* | clean up ExclusiveLeaseredis_improvements | Valery Sizov | 2016-04-13 | 1 | -5/+0 |
| | |||||
* | Add Gitlab::Redis connection pool | Jacob Vosmaer | 2016-04-04 | 1 | -1/+3 |
| | |||||
* | Explain why ExclusiveLease has no #cancellease-design-comments | Jacob Vosmaer | 2016-03-24 | 1 | -0/+21 |
| | | | | [ci skip] | ||||
* | Typoexpiring-lock | Jacob Vosmaer | 2016-03-10 | 1 | -1/+1 |
| | |||||
* | Make comment less ambivalent | Jacob Vosmaer | 2016-03-10 | 1 | -2/+1 |
| | |||||
* | Remove unnecessary random key | Jacob Vosmaer | 2016-03-10 | 1 | -7/+1 |
| | |||||
* | Improve comment | Jacob Vosmaer | 2016-03-10 | 1 | -2/+2 |
| | |||||
* | Move method to User | Jacob Vosmaer | 2016-03-10 | 1 | -1/+12 |
| | |||||
* | Rename ExpiringLock to ExclusiveLease | Jacob Vosmaer | 2016-03-10 | 1 | -0/+37 |