mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-08-19 13:08:46 -06:00
Reduce cache flush frequency to once per minute
This commit is contained in:
parent
d283f91eb0
commit
61edc6ed70
@ -740,7 +740,7 @@ void P2PServer::on_timer()
|
|||||||
|
|
||||||
void P2PServer::flush_cache()
|
void P2PServer::flush_cache()
|
||||||
{
|
{
|
||||||
if (!m_cache) {
|
if (!m_cache || ((m_timerCounter % 30) != 2)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user