mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 10:56:14 +03:00
Merge commit 'b59315836dd086e6506f10fd2bef3e620baabff0' into checkpoint/main_from_release_2.0.0_b59315836dd086e6506f10fd2bef3e620baabff0
This commit is contained in:
commit
936d1f9c89
@ -250,9 +250,9 @@ class HarvesterAPI:
|
||||
for filename_sublist_awaitable in asyncio.as_completed(awaitables):
|
||||
filename, sublist = await filename_sublist_awaitable
|
||||
time_taken = time.time() - start
|
||||
if time_taken > 5:
|
||||
if time_taken > 8:
|
||||
self.harvester.log.warning(
|
||||
f"Looking up qualities on {filename} took: {time_taken}. This should be below 5 seconds"
|
||||
f"Looking up qualities on {filename} took: {time_taken}. This should be below 8 seconds"
|
||||
f" to minimize risk of losing rewards."
|
||||
)
|
||||
else:
|
||||
|
@ -172,9 +172,9 @@ def check_plots(
|
||||
quality_start_time = int(round(time() * 1000))
|
||||
for index, quality_str in enumerate(pr.get_qualities_for_challenge(challenge)):
|
||||
quality_spent_time = int(round(time() * 1000)) - quality_start_time
|
||||
if quality_spent_time > 5000:
|
||||
if quality_spent_time > 8000:
|
||||
log.warning(
|
||||
f"\tLooking up qualities took: {quality_spent_time} ms. This should be below 5 seconds "
|
||||
f"\tLooking up qualities took: {quality_spent_time} ms. This should be below 8 seconds "
|
||||
f"to minimize risk of losing rewards. Filepath: {plot_path}"
|
||||
)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user