Permalink
Browse files

agner:fetch/* now does not time out in 5 seconds

  • Loading branch information...
1 parent ffc4660 commit 5b7dd7331ee643ecb297b9e51639a4b101c776ed @yrashk yrashk committed Jan 27, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/agner.erl
View
2 src/agner.erl
@@ -123,7 +123,7 @@ fetch(Name, Directory) ->
fetch(Name, Version, Directory) when is_list(Version) ->
fetch(Name, agner_spec:list_to_version(Version), Directory);
fetch(Name, Version, Directory) ->
- gen_server:call(agner_server, {fetch, Name, Version, Directory}).
+ gen_server:call(agner_server, {fetch, Name, Version, Directory}, infinity). %% fetch might be time consuming
-spec versions(agner_spec_name()) -> list(agner_spec_version()).

0 comments on commit 5b7dd73

Please sign in to comment.