Permalink
Browse files

Allow worker calls to take their time

  • Loading branch information...
1 parent 51a8e9f commit 4bf8622c943cb13956460d4fb54df1ce16b80c4c @devinus committed Aug 21, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/epgsql_pool_worker.erl
@@ -12,10 +12,10 @@ start_link(Args) ->
gen_server:start_link(?MODULE, Args, []).
squery(Worker, Sql) ->
- gen_server:call(Worker, {squery, Sql}).
+ gen_server:call(Worker, {squery, Sql}, infinity).
equery(Worker, Stmt, Params) ->
- gen_server:call(Worker, {equery, Stmt, Params}).
+ gen_server:call(Worker, {equery, Stmt, Params}, infinity).
init(Args) ->
Hostname = proplists:get_value(hostname, Args),

0 comments on commit 4bf8622

Please sign in to comment.