mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-09 06:18:02 +00:00
update refresh time on confirm
This commit is contained in:
parent
601e0422e4
commit
847659f7dd
@ -311,8 +311,9 @@ namespace
|
|||||||
|
|
||||||
void putData_confirm(entry::list_type const& values_list, dht_storage_item& item)
|
void putData_confirm(entry::list_type const& values_list, dht_storage_item& item)
|
||||||
{
|
{
|
||||||
if( !values_list.empty() ) {
|
if( !item.confirmed && !values_list.empty() ) {
|
||||||
item.confirmed = true;
|
item.confirmed = true;
|
||||||
|
item.next_refresh_time = time_now() + minutes(60);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user