Skip to content

Commit

Permalink
logging: Don't filter on thunk_id in logs_event_pairs
Browse files Browse the repository at this point in the history
  • Loading branch information
jpsamaroo committed Aug 20, 2024
1 parent 0ff557b commit b898fcd
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/utils/logging.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,12 @@ function logs_event_pairs(f, logs::Dict)
continue
end
id::NamedTuple
if haskey(id, :thunk_id)
event_key = (category, id)
if kind == :start
running_events[event_key] = idx
else
event_start_idx = running_events[event_key]
f(w, event_start_idx, idx)
end
event_key = (category, id)
if kind == :start
running_events[event_key] = idx
else
event_start_idx = running_events[event_key]
f(w, event_start_idx, idx)
end
end
end
Expand Down

0 comments on commit b898fcd

Please sign in to comment.