mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 06:18:02 +00:00
prevent flow of unconfirmed requests after twister start
This commit is contained in:
parent
1945adaddf
commit
601e0422e4
@ -767,7 +767,7 @@ void node_impl::load_storage(entry const* e) {
|
||||
|
||||
// wait 1 minute (to load torrents, etc.)
|
||||
// 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);
|
||||
#ifdef ENABLE_DHT_ITEM_EXPIRE
|
||||
|
Loading…
Reference in New Issue
Block a user