Skip to content

Commit 72d6828

Browse files
authored
[CHIA-3811] fix measurement of harvester lookup times for logging (#20285)
fix measurement of harvester lookup times for logging
1 parent ebd23ef commit 72d6828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chia/harvester/harvester_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,6 @@ async def lookup_challenge(
421421
self.harvester.log.debug(f"new_signage_point_harvester {passed} plots passed the plot filter")
422422

423423
# Concurrently executes all lookups on disk, to take advantage of multiple disk parallelism
424-
time_taken = time.monotonic() - start
425424
total_proofs_found = 0
426425
total_v2_partial_proofs_found = 0
427426

@@ -442,6 +441,7 @@ async def lookup_challenge(
442441
else:
443442
total_v2_partial_proofs_found = results[0]
444443

444+
time_taken = time.monotonic() - start
445445
now = uint64(time.time())
446446

447447
farming_info = FarmingInfo(

0 commit comments

Comments
 (0)