Permalink
Browse files

Installation timeout is configured per e-component now.

  • Loading branch information...
1 parent a09aef7 commit fb560b8b1bb8fca0513302011d86da0f1ee24d54 @goj goj committed Jun 17, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/eptic-1.4/src/e_component.erl
@@ -111,7 +111,8 @@ install() ->
%%
-spec(install/1 :: ({atom(), list()}) -> ok | {error, term()}).
install({Name, Conf}) ->
- gen_server:call(?MODULE, {install, Name, Conf}).
+ Timeout = proplists:get_value(installation_timeout, Conf, 5000),
+ gen_server:call(?MODULE, {install, Name, Conf}, Timeout).
%%
%% @spec list() -> InstalledComponents :: list({atom(), string(), string()})

0 comments on commit fb560b8

Please sign in to comment.