Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
0d6f3841
Commit
0d6f3841
authored
Nov 24, 2020
by
Peter Goodspeed-Niklaus
Browse files
REVERT ME: log when CandidateBackingJob receives any message at all
parent
675fd262
Changes
1
Hide whitespace changes
Inline
Side-by-side
node/core/backing/src/lib.rs
View file @
0d6f3841
...
...
@@ -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
?
;
...
...
gabriel klawitter
🏄
@gabriel
mentioned in commit
10d48856
·
Nov 26, 2020
mentioned in commit
10d48856
mentioned in commit 10d48856cd148faadcc5e8447badd8d411ef1edc
Toggle commit list
gabriel klawitter
🏄
@gabriel
mentioned in commit
113ae827
·
Dec 04, 2020
mentioned in commit
113ae827
mentioned in commit 113ae8272ecf2133272b9373123ffb4f74a00425
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment