mirror of
https://github.com/SChernykh/p2pool.git
synced 2025-04-23 22:08:11 +00:00
API: added ZMQ last active to local/p2p
This commit is contained in:
parent
0d33214557
commit
00b6dabc78
1 changed files with 1 additions and 1 deletions
|
@ -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()) << '}';
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue