mirror of
https://github.com/btdig/dhtcrawler2.git
synced 2025-01-31 02:21:37 +00:00
fix hash_reader stop working bug
This commit is contained in:
parent
1dc4a2c588
commit
5592b3989b
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user