Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
discourse-cern
Commits
2238f35c
Commit
2238f35c
authored
Jan 10, 2022
by
Ismael Posada Trobo
Browse files
DEV: Fix methods removed in Ruby 3.2
parent
c1c7ffd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/unicorn.conf.rb
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
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment