From 350511658573db75353e9a7706f1cf6e8d2326b3 Mon Sep 17 00:00:00 2001 From: Kevin Lynx Date: Tue, 2 Jul 2013 12:27:53 +0800 Subject: [PATCH] change hash reader waiting time to 1 min --- src/hash_reader/db_hash_reader.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hash_reader/db_hash_reader.erl b/src/hash_reader/db_hash_reader.erl index 4710bb6..ee6b0c4 100644 --- a/src/hash_reader/db_hash_reader.erl +++ b/src/hash_reader/db_hash_reader.erl @@ -18,7 +18,7 @@ -record(state, {downloader, dbpool, downloading = 0}). -include("db_common.hrl"). % if there's no hash, wait some time --define(WAIT_TIME, 2*60*1000). +-define(WAIT_TIME, 1*60*1000). % the max concurrent download tasks -define(MAX_DOWNLOAD, 50).