Changing more loggings levels.

refs #135
This commit is contained in:
softsimon
2020-10-13 16:43:09 +07:00
parent 4a14085908
commit 3d374fd9d9
8 changed files with 18 additions and 18 deletions

View File

@@ -138,10 +138,10 @@ class Mempool {
if (this.mempoolProtection === 0 && transactions.length / currentMempoolSize <= 0.80) {
this.mempoolProtection = 1;
this.inSync = false;
logger.info('Mempool clear protection triggered.');
logger.warn('Mempool clear protection triggered.');
setTimeout(() => {
this.mempoolProtection = 2;
logger.info('Mempool clear protection resumed.');
logger.warn('Mempool clear protection resumed.');
}, 1000 * 60 * 2);
}