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
08c09001
Commit
08c09001
authored
Sep 21, 2021
by
Aleksei Lipniagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backport kwargs fix for Ruby 3
Make the code compatible both with Ruby 2.7 and Ruby 3.
parent
a55c2106
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
config/initializers/sidekiq.rb
config/initializers/sidekiq.rb
+2
-2
No files found.
config/initializers/sidekiq.rb
View file @
08c09001
...
...
@@ -38,11 +38,11 @@ Sidekiq.configure_server do |config|
config
.
redis
=
queues_config_hash
config
.
server_middleware
(
&
Gitlab
::
SidekiqMiddleware
.
server_configurator
(
{
config
.
server_middleware
(
&
Gitlab
::
SidekiqMiddleware
.
server_configurator
(
metrics:
Settings
.
monitoring
.
sidekiq_exporter
,
arguments_logger:
SidekiqLogArguments
.
enabled?
&&
!
enable_json_logs
,
memory_killer:
enable_sidekiq_memory_killer
&&
use_sidekiq_legacy_memory_killer
}
))
))
config
.
client_middleware
(
&
Gitlab
::
SidekiqMiddleware
.
client_configurator
)
...
...
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