Commit 77084df9 authored by rinpatch's avatar rinpatch

Hardcode 127.0.0.1 again

Erlang distribution doesn't work with v6 addresses as hostnames anyway.
parent 9d58da4a
Pipeline #20160 passed with stage
in 1 minute and 18 seconds
......@@ -50,19 +50,7 @@ defmodule FastHtml.Application do
end
end
defp hostname() do
{:ok, ifaddrs} = :inet.getifaddrs()
ifaddrs
|> Enum.filter(fn {_name, value} -> :loopback in Keyword.get(value, :flags) end)
|> Enum.at(0)
|> elem(1)
|> Keyword.get(:addr)
|> :inet.ntoa()
|> to_string()
end
defp start_node() do
Node.start(:"master_#{random_sname()}@#{hostname()}")
Node.start(:"master_#{random_sname()}@127.0.0.1")
end
end
......@@ -4,7 +4,7 @@ defmodule FastHtml.Mixfile do
def project do
[
app: :fast_html,
version: "0.99.3",
version: "0.99.4",
elixir: "~> 1.5",
deps: deps(),
package: package(),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment