forked from Qortal/qortal
Reduce confusing BlockMinter log spam - issue #9
This commit is contained in:
parent
f1efae79c8
commit
7a569f342f
@ -195,7 +195,7 @@ public class BlockMinter extends Thread {
|
|||||||
// Make sure we're the only thread modifying the blockchain
|
// Make sure we're the only thread modifying the blockchain
|
||||||
ReentrantLock blockchainLock = Controller.getInstance().getBlockchainLock();
|
ReentrantLock blockchainLock = Controller.getInstance().getBlockchainLock();
|
||||||
if (!blockchainLock.tryLock(30, TimeUnit.SECONDS)) {
|
if (!blockchainLock.tryLock(30, TimeUnit.SECONDS)) {
|
||||||
LOGGER.warn("Couldn't acquire blockchain lock even after waiting 30 seconds");
|
LOGGER.debug("Couldn't acquire blockchain lock even after waiting 30 seconds");
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user