Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
discourse-cern
Commits
08d8f7af
Commit
08d8f7af
authored
Jan 10, 2022
by
Ismael Posada Trobo
Browse files
DEV: Avoid $ globals
parent
2238f35c
Changes
1
Hide whitespace changes
Inline
Side-by-side
config/unicorn.conf.rb
View file @
08d8f7af
...
...
@@ -25,7 +25,7 @@ end
pid
(
ENV
[
"UNICORN_PID_PATH"
]
||
"
#{
discourse_path
}
/tmp/pids/unicorn.pid"
)
if
ENV
[
"RAILS_ENV"
]
!=
"production"
logger
Logger
.
new
(
$stdout
)
logger
Logger
.
new
(
STDOUT
)
# we want a longer timeout in dev cause first request can be really slow
timeout
(
ENV
[
"UNICORN_TIMEOUT"
]
&&
ENV
[
"UNICORN_TIMEOUT"
].
to_i
||
60
)
else
...
...
Write
Preview
Supports
Markdown
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