Periodically refresh read transaction in bootstrap_server

This commit is contained in:
Piotr Wójcik 2023-11-06 18:53:36 +01:00
commit db2b98f5a4

View file

@ -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);