connector

This commit is contained in:
4tochka 2019-06-02 14:11:49 +04:00
parent b00b66c3b7
commit 6e267385b7
2 changed files with 3 additions and 1 deletions

View File

@ -462,6 +462,7 @@ class Connector:
self.log.debug("Read from db last batch %s s; "
"total %s s; " % (round(self.utxo.read_from_db_time, 4),
int(self.utxo.read_from_db_time_total)))
self.utxo.read_from_db_time = 0
self.log.debug("-Coins--------------------------------------------------------------------")
self.log.debug("Coins %s; destroyed %s; "
"unspent %s; op_return %s;" % (self.coins,

View File

@ -241,7 +241,8 @@ class UTXO():
self.read_from_db_time += time.time() - t
self.read_from_db_time_total += time.time() - t
except:
self.log.critical(str(traceback.format_exc()))
finally:
self.load_utxo_future.set_result(True)