sphinx worker call infinity

This commit is contained in:
Kevin Lynx 2013-07-30 22:43:32 +08:00
parent 7b1a435a43
commit 46c99cabd8

View File

@ -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().