Unverified Commit 4685b251 authored by Robert Klotzner's avatar Robert Klotzner Committed by GitHub
Browse files

Fix misleading logs in collator protocol. (#4201)



* Fix misleading logs in collator protocol.

* Make logs debug again.
Co-authored-by: Andronik Ordian's avatarAndronik Ordian <write@reusable.software>
parent 94243bb8
Pipeline #164627 passed with stages
in 35 minutes and 46 seconds
......@@ -1213,7 +1213,8 @@ where
tracing::debug!(
target: LOG_TARGET,
?relay_parent,
"Fetch for collation took too long, starting parallel download for next collator as well."
?collator_id,
"Timeout hit - already seconded?"
);
dequeue_next_collation_and_fetch(&mut ctx, &mut state, relay_parent, collator_id).await;
}
......@@ -1272,6 +1273,12 @@ async fn dequeue_next_collation_and_fetch(
.get_mut(&relay_parent)
.and_then(|c| c.get_next_collation_to_fetch(Some(previous_fetch)))
{
tracing::debug!(
target: LOG_TARGET,
?relay_parent,
?id,
"Successfully dequeued next advertisement - fetching ..."
);
fetch_collation(ctx, state, next, id).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