mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-12-22 19:39:22 +00:00
Reduce cache flush frequency to once per minute
This commit is contained in:
parent
d283f91eb0
commit
61edc6ed70
1 changed files with 1 additions and 1 deletions
|
@ -740,7 +740,7 @@ void P2PServer::on_timer()
|
|||
|
||||
void P2PServer::flush_cache()
|
||||
{
|
||||
if (!m_cache) {
|
||||
if (!m_cache || ((m_timerCounter % 30) != 2)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue