rubocop: fix various style issues.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# This file is used by Rack-based servers to start the application.
|
||||
|
||||
require ::File.expand_path('../config/environment', __FILE__)
|
||||
require ::File.expand_path('../config/environment', __FILE__)
|
||||
|
||||
if defined?(Unicorn) && Rails.env.production?
|
||||
# Unicorn self-process killer
|
||||
@@ -10,7 +10,7 @@ if defined?(Unicorn) && Rails.env.production?
|
||||
use Unicorn::WorkerKiller::MaxRequests, 5_000, 10_000
|
||||
|
||||
# Max memory size (RSS) per worker
|
||||
#use Unicorn::WorkerKiller::Oom, (192*(1024**2)), (256*(1024**2))
|
||||
# use Unicorn::WorkerKiller::Oom, (192*(1024**2)), (256*(1024**2))
|
||||
end
|
||||
|
||||
run Rails.application
|
||||
|
||||
Reference in New Issue
Block a user