Commit Graph

15 Commits

Author SHA1 Message Date
GitLab Bot a5628d3b6d Add latest changes from gitlab-org/gitlab@master 2021-06-09 06:10:29 +00:00
GitLab Bot de8e5077c3 Add latest changes from gitlab-org/gitlab@master 2021-06-07 12:10:00 +00:00
GitLab Bot 0c2ef1f35c Add latest changes from gitlab-org/gitlab@master 2021-06-07 03:09:56 +00:00
GitLab Bot c80a1141e3 Add latest changes from gitlab-org/gitlab@master 2021-06-04 12:10:17 +00:00
GitLab Bot c3afdb42dd Add latest changes from gitlab-org/gitlab@master 2021-06-01 18:10:04 +00:00
GitLab Bot 458209640c Add latest changes from gitlab-org/gitlab@master 2020-11-12 21:09:19 +00:00
GitLab Bot 5460c19548 Add latest changes from gitlab-org/gitlab@master 2020-10-05 12:08:47 +00:00
GitLab Bot f5617fbd78 Add latest changes from gitlab-org/gitlab@master 2020-08-14 18:10:16 +00:00
GitLab Bot 350fd8b878 Add latest changes from gitlab-org/gitlab@master 2020-08-10 18:09:54 +00:00
GitLab Bot c59765a50a Add latest changes from gitlab-org/gitlab@master 2020-06-24 18:09:03 +00:00
GitLab Bot 63546c0b11 Add latest changes from gitlab-org/gitlab@master 2020-06-04 12:08:21 +00:00
GitLab Bot 43e3dc2f95 Add latest changes from gitlab-org/gitlab@master 2020-02-12 18:09:21 +00:00
Thong Kuah 8c42a0eac0 Add frozen_string_literal to lib part 2
Using the sed script from
https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
2019-08-23 00:15:24 +12:00
Robert Speicher f5cb3ac14d Don't depend on `Rails` for Redis configuration file paths
The `Rails` object was not always available in all tasks that require
Redis access, such as `mail_room`, so the constant pointing to the
configuration path was never defined, but we still attempted to access
it in `config_file_name`, resulting in a `NameError` exception.

Further, there was no benefit to defining these paths in a constant to
begin with -- they're only accessed in one place, and it was within the
class where they were being defined. We can just provide them at
run-time instead.

Further _still_, we were calling `File.expand_path` on the absolute path
returned by `Rails.root.join`, which was rather pointless.
2017-08-15 15:08:56 -04:00
Paul Charlton cb3b4a15e6 Support multiple Redis instances based on queue type 2017-07-11 03:35:47 +00:00