Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
discourse-cern
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
webservices
discourse-cern
Commits
2238f35c
Commit
2238f35c
authored
3 years ago
by
Ismael Posada Trobo
Browse files
Options
Downloads
Patches
Plain Diff
DEV: Fix methods removed in Ruby 3.2
parent
c1c7ffd4
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/unicorn.conf.rb
+1
-1
1 addition, 1 deletion
config/unicorn.conf.rb
with
1 addition
and
1 deletion
config/unicorn.conf.rb
+
1
−
1
View file @
2238f35c
...
...
@@ -73,7 +73,7 @@ before_fork do |server, worker|
if
supervisor
>
0
Thread
.
new
do
while
true
unless
File
.
exist
s
?
(
"/proc/
#{
supervisor
}
"
)
unless
File
.
exist?
(
"/proc/
#{
supervisor
}
"
)
puts
"Kill self supervisor is gone"
Process
.
kill
"TERM"
,
Process
.
pid
end
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment