浏览代码

Remove unecessary configuration

José Valim 8 年之前
父节点
当前提交
5055f100ef

+ 0 - 3
frameworks/Elixir/phoenix/config/locales/en.exs

@@ -1,3 +0,0 @@
-[
-  hello: "Hello"
-]

+ 1 - 16
frameworks/Elixir/phoenix/config/prod.exs

@@ -12,7 +12,7 @@ config :hello, Hello.Repo,
   password: "benchmarkdbpass",
   database: "hello_world",
   hostname: "localhost",
-  pool_size: 256
+  pool_size: 20
 
 # ## SSL Support
 #
@@ -29,18 +29,3 @@ config :hello, Hello.Repo,
 # disk for the key and cert.
 
 config :logger, level: :error
-
-# ## Using releases
-#
-# If you are doing OTP releases, you need to instruct Phoenix
-# to start the server for all endpoints:
-#
-#    config :phoenix, :serve_endpoints, true
-#
-# Alternatively, you can configure exactly which server to
-# start per endpoint:
-#
-#     config :hello, Hello.Endpoint, server: true
-#
-
-import_config "prod.secret.exs"

+ 0 - 7
frameworks/Elixir/phoenix/config/prod.secret.exs

@@ -1,7 +0,0 @@
-use Mix.Config
-
-# In this file, we keep production configuration that
-# you likely want to automate and keep it away from
-# your version control system.
-config :hello, Hello.Endpoint,
-  secret_key_base: "Z18ZjzZslFpKd8HB41IljqMavPiOKVF9y1DIQ+S2Ytg7Op0EIauwJgd7mtRStssx"

+ 1 - 1
frameworks/Elixir/phoenix/setup.sh

@@ -12,4 +12,4 @@ mix local.rebar --force
 mix deps.get --force --only prod
 mix compile --force
 
-elixir --erl "+K true" --detached  -pa _build/prod/consolidated -S mix phoenix.server
+elixir --erl "+K true" --detached -S mix phoenix.server