|
|
@ -767,7 +767,7 @@ void node_impl::load_storage(entry const* e) { |
|
|
|
|
|
|
|
|
|
|
|
// wait 1 minute (to load torrents, etc.)
|
|
|
|
// wait 1 minute (to load torrents, etc.)
|
|
|
|
// randomize refresh time
|
|
|
|
// randomize refresh time
|
|
|
|
item.next_refresh_time = now + minutes(1) + minutes(item.confirmed ? 60 : 1) * getRandom(); |
|
|
|
item.next_refresh_time = now + minutes(1) + minutes(60) * getRandom(); |
|
|
|
|
|
|
|
|
|
|
|
to_add.push_back(item); |
|
|
|
to_add.push_back(item); |
|
|
|
#ifdef ENABLE_DHT_ITEM_EXPIRE |
|
|
|
#ifdef ENABLE_DHT_ITEM_EXPIRE |
|
|
|