include loadtest environment for loading newrelic_rpm
This commit is contained in:
Родитель
1d4634e98d
Коммит
6d1be93d99
2
app.rb
2
app.rb
|
@ -18,7 +18,7 @@ module CommentService
|
|||
API_PREFIX = "/api/#{API_VERSION}"
|
||||
end
|
||||
|
||||
if environment == "staging" or environment == "production"
|
||||
if ["staging", "production", "loadtest"].include? environment
|
||||
require 'newrelic_rpm'
|
||||
end
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче