Periodically refresh read transaction in bootstrap_server
This commit is contained in:
parent
9d7782ca0b
commit
db2b98f5a4
1 changed files with 2 additions and 0 deletions
|
@ -150,6 +150,8 @@ void nano::bootstrap_server::process_batch (std::deque<request_t> & batch)
|
|||
|
||||
for (auto & [request, channel] : batch)
|
||||
{
|
||||
transaction.refresh_if_needed ();
|
||||
|
||||
if (!channel->max (nano::transport::traffic_type::bootstrap))
|
||||
{
|
||||
auto response = process (transaction, request);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue