sync improvements, bug fixes, config changes

This commit is contained in:
Kevin Froman 2018-08-23 12:48:49 -05:00
parent 6d31fa4229
commit e34c08b036
8 changed files with 40 additions and 26 deletions

View file

@ -61,5 +61,11 @@ class DaemonTools:
if not self.daemon._core._utils.checkNetwork():
logger.warn('Network check failed, are you connected to the internet?')
self.daemon.isOnline = False
self.daemon.decrementThreadCount('netCheck')
self.daemon.decrementThreadCount('netCheck')
def cleanOldBlocks(self):
'''Delete old blocks if our disk allocation is full/near full'''
if self.daemon._core._utils.storageCounter.isFull():
self.daemon.decrementThreadCount('cleanOldBlocks')