Skip to content

Commit

Permalink
API: added ZMQ last active to local/p2p
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Dec 29, 2024
1 parent 0d33214 commit 00b6dab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p2p_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) << '}';
});
}

Expand Down

0 comments on commit 00b6dab

Please sign in to comment.