-
-
Save maierru/d4cb7d0124d2eece80bd07b7a51ad31b to your computer and use it in GitHub Desktop.
Revisions
-
maierru revised this gist
Aug 30, 2017 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # https://github.com/knutin/elli # Not Sure for this # https://github.com/zampino/pastelli # https://github.com/zampino/pastelli_phoenix -
maierru renamed this gist
Aug 30, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
maierru renamed this gist
Aug 30, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
maierru revised this gist
Aug 30, 2017 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ # Move erts IO Polling to dedicated threads # https://github.com/erlang/otp/pull/1552 -
maierru revised this gist
Aug 29, 2017 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ # Use phoenix_jiffy instead of Poison - it's faster! # https://hex.pm/packages/phoenix_jiffy -
maierru revised this gist
Aug 29, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,4 +31,4 @@ config :hlcup, HlcupWeb.Endpoint, version: Application.spec(:hlcup, :vsn) # remove any unimportant logger function output from code at compilation config :logger, level: :error, compile_time_purge_level: :error -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,4 +31,4 @@ config :hlcup, HlcupWeb.Endpoint, version: Application.spec(:hlcup, :vsn) # remove any unimportant logger function output from code at compilation config :logger, level: :error, compile_time_purge_level: :error -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,5 +30,5 @@ config :hlcup, HlcupWeb.Endpoint, root: ".", version: Application.spec(:hlcup, :vsn) # remove any unimportant logger function output from code at compilation config :logger, compile_time_purge_level: :error -
maierru renamed this gist
Aug 28, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,3 @@ # https://github.com/bitwalker/distillery/blob/master/docs/Walkthrough.md $ MIX_ENV=prod mix release --erl="+K true +stbt db" --env=prod --verbose -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ > :inet.i() > Application.get_env(:hlcup, HlcupWeb.Endpoint) > :ets.lookup(:"Elixir.HlcupWeb.Endpoint", :http) > :erlang.system_info(:process_limit) -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ > :inet.i > Application.get_env(:hlcup, HlcupWeb.Endpoint) > :ets.lookup(:"Elixir.HlcupWeb.Endpoint", :http) > :erlang.system_info(:process_limit) > :erlang.system_info(:port_limit) -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,5 +30,5 @@ config :hlcup, HlcupWeb.Endpoint, root: ".", version: Application.spec(:hlcup, :vsn) # remove any unimportant logger output from code at compilation config :logger, compile_time_purge_level: :error -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -30,5 +30,5 @@ config :hlcup, HlcupWeb.Endpoint, root: ".", version: Application.spec(:hlcup, :vsn) # remove any unimportant logger output config :logger, compile_time_purge_level: :error -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -12,8 +12,8 @@ config :hlcup, HlcupWeb.Endpoint, # end # if load_from_system_env is true => http options don't use. load_from_system_env: false, # https://hexdocs.pm/plug/Plug.Adapters.Cowboy.html http: [ ip: {0,0,0,0}, -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 13 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,18 @@ config :hlcup, HlcupWeb.Endpoint, # https://hexdocs.pm/phoenix/endpoint.html => ctrl-f => load_from_system_env # Let's see from my app Endpont (HlcupWeb.Endpoint) # def init(_key, config) do # if config[:load_from_system_env] do # port = System.get_env("PORT") || raise "expected the PORT environment variable to be set" # {:ok, Keyword.put(config, :http, [:inet6, port: port])} # else # {:ok, config} # end # end # if load_from_system_env is true => http options don't use. load_from_system_env: false, # https://hexdocs.pm/plug/Plug.Adapters.Cowboy.html http: [ -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ config :hlcup, HlcupWeb.Endpoint, # https://hexdocs.pm/phoenix/endpoint.html => ctrl-f => load_from_system_env load_from_system_env: false, # https://hexdocs.pm/plug/Plug.Adapters.Cowboy.html http: [ -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ config :hlcup, HlcupWeb.Endpoint, # https://hexdocs.pm/phoenix/endpoint.html - ctrl-f => load_from_system_env load_from_system_env: false, # https://hexdocs.pm/plug/Plug.Adapters.Cowboy.html http: [ -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,6 +7,7 @@ config :hlcup, HlcupWeb.Endpoint, acceptors: 2500, max_connections: :infinity, timeout: 2000, # https://ninenines.eu/docs/en/cowboy/1.0/manual/cowboy_protocol/ protocol_options: [{:max_keepalive, 20000000},{:timeout, 2000}] ], url: [host: "travels.com", port: 80], -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ config :hlcup, HlcupWeb.Endpoint, load_from_system_env: false, # https://hexdocs.pm/plug/Plug.Adapters.Cowboy.html http: [ ip: {0,0,0,0}, port: 80, -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,5 +14,5 @@ config :hlcup, HlcupWeb.Endpoint, root: ".", version: Application.spec(:hlcup, :vsn) # remove output config :logger, compile_time_purge_level: :error -
maierru revised this gist
Aug 28, 2017 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,5 +14,5 @@ config :hlcup, HlcupWeb.Endpoint, root: ".", version: Application.spec(:hlcup, :vsn) # delete error output config :logger, compile_time_purge_level: :error -
maierru created this gist
Aug 28, 2017 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ config :hlcup, HlcupWeb.Endpoint, load_from_system_env: false, http: [ ip: {0,0,0,0}, port: 80, acceptors: 2500, max_connections: :infinity, timeout: 2000, protocol_options: [{:max_keepalive, 20000000},{:timeout, 2000}] ], url: [host: "travels.com", port: 80], cache_static_manifest: "priv/static/cache_manifest.json", server: true, root: ".", version: Application.spec(:hlcup, :vsn) # Do not print debug messages in production config :logger, compile_time_purge_level: :error