mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 10:56:14 +03:00
parent
19216dcf3e
commit
c1f54cb13a
@ -200,13 +200,13 @@ class HarvesterAPI:
|
||||
time_taken = time.time() - start
|
||||
if time_taken > 5:
|
||||
self.harvester.log.warning(
|
||||
f"Looking up qualities on {filename} took: {time.time() - start}. This should be below 5 seconds "
|
||||
f"Looking up qualities on {filename} took: {time_taken}. This should be below 5 seconds "
|
||||
f"to minimize risk of losing rewards."
|
||||
)
|
||||
else:
|
||||
pass
|
||||
# If you want additional logs, uncomment the following line
|
||||
# self.harvester.log.debug(f"Looking up qualities on {filename} took: {time.time() - start}")
|
||||
# self.harvester.log.debug(f"Looking up qualities on {filename} took: {time_taken}")
|
||||
for response in sublist:
|
||||
total_proofs_found += 1
|
||||
msg = make_msg(ProtocolMessageTypes.new_proof_of_space, response)
|
||||
|
Loading…
Reference in New Issue
Block a user