mirror of
https://github.com/wownero/p2pool-wow.git
synced 2026-10-24 02:28:43 +02:00
Reduce cache flush frequency to once per minute
This commit is contained in:
+1
-1
@@ -740,7 +740,7 @@ void P2PServer::on_timer()
|
||||
|
||||
void P2PServer::flush_cache()
|
||||
{
|
||||
if (!m_cache) {
|
||||
if (!m_cache || ((m_timerCounter % 30) != 2)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user