File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ async def new_signage_point_harvester(
88
88
f"sp_hash: { new_challenge .sp_hash } , signage_point_index: { new_challenge .signage_point_index } "
89
89
)
90
90
91
- start = time .time ()
91
+ start = time .monotonic ()
92
92
assert len (new_challenge .challenge_hash ) == 32
93
93
94
94
loop = asyncio .get_running_loop ()
@@ -254,11 +254,11 @@ async def lookup_challenge(
254
254
self .harvester .log .debug (f"new_signage_point_harvester { passed } plots passed the plot filter" )
255
255
256
256
# Concurrently executes all lookups on disk, to take advantage of multiple disk parallelism
257
- time_taken = time .time () - start
257
+ time_taken = time .monotonic () - start
258
258
total_proofs_found = 0
259
259
for filename_sublist_awaitable in asyncio .as_completed (awaitables ):
260
260
filename , sublist = await filename_sublist_awaitable
261
- time_taken = time .time () - start
261
+ time_taken = time .monotonic () - start
262
262
if time_taken > 8 :
263
263
self .harvester .log .warning (
264
264
f"Looking up qualities on { filename } took: { time_taken } . This should be below 8 seconds"
You can’t perform that action at this time.
0 commit comments