fix hash_reader stop working bug

This commit is contained in:
Kevin Lynx 2013-07-18 12:43:51 +08:00
parent 1dc4a2c588
commit 5592b3989b

View File

@ -218,6 +218,7 @@ try_next_download(Conn) ->
check_in_index_cache(Conn, Doc).
check_in_index_cache(_, {}) ->
timer:send_after(?WAIT_TIME, timeout),
empty;
check_in_index_cache(Conn, {Doc}) ->
{Hash} = bson:lookup(hash, Doc),