summaryrefslogtreecommitdiff
path: root/lib/gitlab/otp_key_rotator.rb
Commit message (Collapse)AuthorAgeFilesLines
* Added EachBatch for iterating tables in batchesactive-record-each-batchYorick Peterse2017-07-071-1/+1
| | | | | | | This module provides a class method called `each_batch` that can be used to iterate tables in batches in a more efficient way compared to Rails' `in_batches` method. This commit also includes a RuboCop cop to blacklist the use of `in_batches` in favour of this new method.
* Add a Rake task to aid in rotating otp_key_baseNick Thomas2017-06-051-0/+87