Packages
Watch and fetch application's configuration from a server, and compile them into Elixir modules.
Current section
13 Versions
Jump to
Current section
13 Versions
Compare versions
3
files changed
+4
additions
-3
deletions
| @@ -1,6 +1,6 @@ | |
| 1 1 | {<<"links">>,[{<<"Github">>,<<"https://github.com/qhwa/formular-client">>}]}. |
| 2 2 | {<<"name">>,<<"formular_client">>}. |
| 3 | - {<<"version">>,<<"0.4.0-alpha.3">>}. |
| 3 | + {<<"version">>,<<"0.4.0-alpha.4">>}. |
| 4 4 | {<<"description">>, |
| 5 5 | <<"Watch and fetch application's configuration from a server, and compile them into Elixir modules.">>}. |
| 6 6 | {<<"elixir">>,<<">= 1.10.0">>}. |
| @@ -17,7 +17,8 @@ defmodule Formular.Client.Compiler do | |
| 17 17 | def handle_new_code_revision({pid, ref}, name, code, config, opts) do |
| 18 18 | {:ok, server} = try_start(name) |
| 19 19 | |
| 20 | - GenServer.call(server, {:compile, {pid, ref, code, config, opts}}, @compile_timeout) |
| 20 | + timeout = Map.get(config, :read_timeout, @compile_timeout) |
| 21 | + GenServer.call(server, {:compile, {pid, ref, code, config, opts}}, timeout) |
| 21 22 | |
| 22 23 | :ok |
| 23 24 | end |
| @@ -6,7 +6,7 @@ defmodule Formular.Client.MixProject do | |
| 6 6 | app: :formular_client, |
| 7 7 | description: |
| 8 8 | "Watch and fetch application's configuration from a server, and compile them into Elixir modules.", |
| 9 | - version: "0.4.0-alpha.3", |
| 9 | + version: "0.4.0-alpha.4", |
| 10 10 | elixir: ">= 1.10.0", |
| 11 11 | start_permanent: Mix.env() == :prod, |
| 12 12 | deps: deps(), |