Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Make log for execute job conclusion match prepare job conclusion
Browse files Browse the repository at this point in the history
Trace log for conclusion of prepare job:

```rs
gum::debug!(
	target: LOG_TARGET,
	validation_code_hash = ?artifact_id.code_hash,
	?worker,
	?rip,
	"prepare worker concluded",
);
```
  • Loading branch information
mrcnski committed Oct 23, 2022
1 parent 39879c5 commit 392c315
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions node/core/pvf/src/execute/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,12 @@ fn handle_job_finish(
};

queue.metrics.execute_finished();
gum::trace!(
gum::debug!(
target: LOG_TARGET,
validation_code_hash = ?artifact_id.code_hash,
?worker,
worker_rip = idle_worker.is_none(),
?result,
"job finished.",
"execute worker concluded",
);

// First we send the result. It may fail due the other end of the channel being dropped, that's
Expand Down

0 comments on commit 392c315

Please sign in to comment.