mirror of
https://github.com/btdig/dhtcrawler2.git
synced 2025-01-31 10:31:37 +00:00
async update cache
This commit is contained in:
parent
530d1ce8c5
commit
bb2cbfcc2d
@ -134,6 +134,7 @@ spawn_update(Type) ->
|
||||
|
||||
async_update(Type, From) ->
|
||||
Start = now(),
|
||||
io:format("async update cache ~p start~n", [Type]),
|
||||
Ret = do_update(Type),
|
||||
From ! {enter_cache, Type, Ret},
|
||||
io:format("async update cache ~p done used ~p ms~n",
|
||||
|
Loading…
Reference in New Issue
Block a user