Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
3c983b5a
Commit
3c983b5a
authored
May 28, 2021
by
Jacob Vosmaer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary Gitlab::Redis require statements
parent
ce20628e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
7 deletions
+1
-7
lib/gitlab/redis/cache.rb
lib/gitlab/redis/cache.rb
+0
-3
lib/gitlab/redis/queues.rb
lib/gitlab/redis/queues.rb
+1
-1
lib/gitlab/redis/shared_state.rb
lib/gitlab/redis/shared_state.rb
+0
-3
No files found.
lib/gitlab/redis/cache.rb
View file @
3c983b5a
# frozen_string_literal: true
# please require all dependencies below:
require_relative
'wrapper'
unless
defined?
(
::
Rails
)
&&
::
Rails
.
root
.
present?
module
Gitlab
module
Redis
class
Cache
<
::
Gitlab
::
Redis
::
Wrapper
...
...
lib/gitlab/redis/queues.rb
View file @
3c983b5a
# frozen_string_literal: true
#
please require all dependencies below:
#
We need this require for MailRoom
require_relative
'wrapper'
unless
defined?
(
::
Gitlab
::
Redis
::
Wrapper
)
module
Gitlab
...
...
lib/gitlab/redis/shared_state.rb
View file @
3c983b5a
# frozen_string_literal: true
# please require all dependencies below:
require_relative
'wrapper'
unless
defined?
(
::
Gitlab
::
Redis
::
Wrapper
)
module
Gitlab
module
Redis
class
SharedState
<
::
Gitlab
::
Redis
::
Wrapper
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment