diff --git a/src/sphinx_builder/sphinx_builder.erl b/src/sphinx_builder/sphinx_builder.erl index 510f870..ce7d3f5 100644 --- a/src/sphinx_builder/sphinx_builder.erl +++ b/src/sphinx_builder/sphinx_builder.erl @@ -84,7 +84,7 @@ check_all_done(_WaitWorkers, _WaitCnt, _Processed, Saved) -> Saved. worker_run() -> - Ret = gen_server:call(srv_name(), {get, self()}), + Ret = gen_server:call(srv_name(), {get, self()}, infinity), do_process(Ret), worker_run().