Reduce cache flush frequency to once per minute

pull/71/head
SChernykh 2021-11-01 11:29:59 +01:00
parent d283f91eb0
commit 61edc6ed70
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ void P2PServer::on_timer()
void P2PServer::flush_cache()
{
if (!m_cache) {
if (!m_cache || ((m_timerCounter % 30) != 2)) {
return;
}