API: added ZMQ last active to local/p2p

This commit is contained in:
SChernykh 2024-12-29 12:56:32 +01:00
parent 0d33214557
commit 00b6dabc78

View file

@ -1425,7 +1425,7 @@ void P2PServer::api_update_local_stats()
}
}
s << "],\"uptime\":" << cur_time - m_pool->start_time() << '}';
s << "],\"uptime\":" << cur_time - m_pool->start_time() << ",\"zmq_last_active\":" << (seconds_since_epoch() - m_pool->zmq_last_active()) << '}';
});
}