Commit 0d6f3841 authored by Peter Goodspeed-Niklaus's avatar Peter Goodspeed-Niklaus
Browse files

REVERT ME: log when CandidateBackingJob receives any message at all

parent 675fd262
......@@ -151,6 +151,7 @@ impl TableContextTrait for TableContext {
}
/// A message type that is sent from `CandidateBackingSubsystem` to `CandidateBackingJob`.
#[derive(Debug)]
pub enum ToJob {
/// A `CandidateBackingMessage`.
CandidateBacking(CandidateBackingMessage),
......@@ -284,6 +285,7 @@ impl CandidateBackingJob {
/// Run asynchronously.
async fn run_loop(mut self) -> Result<(), Error> {
while let Some(msg) = self.rx_to.next().await {
tracing::info!(target: LOG_TARGET, relay_parent = ?self.parent, msg = ?msg, "run_loop received a message");
match msg {
ToJob::CandidateBacking(msg) => {
self.process_msg(msg).await?;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment