Skip to content

Commit 7ad8641

Browse files
committed
chore: better tracing for agg periodic tasks
1 parent 6e0c26b commit 7ad8641

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

explorer/lib/explorer/periodically.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ defmodule Explorer.Periodically do
8484
end
8585

8686
def process_aggregated_proofs(from_block, to_block) do
87-
"Processing aggregated proofs" |> Logger.debug()
87+
"Processing aggregated proofs from #{from_block} to #{to_block}" |> Logger.debug()
8888

8989
{:ok, proofs} =
9090
AlignedProofAggregationService.get_aggregated_proof_event(%{
@@ -127,6 +127,8 @@ defmodule Explorer.Periodically do
127127
})
128128
end)
129129
end)
130+
131+
"Done processing aggregated proofs from #{from_block} to #{to_block}" |> Logger.debug()
130132
end
131133

132134
def process_batches(fromBlock, toBlock) do

0 commit comments

Comments
 (0)