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

Commit

Permalink
Minor fixes (#6533)
Browse files Browse the repository at this point in the history
* Minor fixes

* Fix compile errors
  • Loading branch information
mrcnski authored Jan 10, 2023
1 parent e2db525 commit c80124e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions node/core/pvf/src/execute/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,8 @@ pub async fn start_work(
target: LOG_TARGET,
worker_pid = %pid,
validation_code_hash = ?artifact.id.code_hash,
"execution worker exceeded allotted time for execution",
"execution worker exceeded lenient timeout for execution, child worker likely stalled",
);
// TODO: This case is not really a hard timeout as the timeout here in the host is
// lenient. Should fix this as part of
// https://github.com/paritytech/polkadot/issues/3754.
Response::TimedOut
},
};
Expand Down
2 changes: 1 addition & 1 deletion node/network/dispute-distribution/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl<AD> DisputeDistributionSubsystem<AD>
where
AD: AuthorityDiscovery + Clone,
{
/// Create a new instance of the availability distribution.
/// Create a new instance of the dispute distribution.
pub fn new(
keystore: SyncCryptoStorePtr,
req_receiver: IncomingRequestReceiver<v1::DisputeRequest>,
Expand Down
4 changes: 2 additions & 2 deletions node/subsystem-util/src/nesting_sender.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,10 +196,10 @@ where

// Helper traits and implementations:

impl<M, M1> Clone for NestingSender<M, M1>
impl<M, Mnested> Clone for NestingSender<M, Mnested>
where
M: 'static,
M1: 'static,
Mnested: 'static,
{
fn clone(&self) -> Self {
Self { sender: self.sender.clone(), conversion: self.conversion.clone() }
Expand Down

0 comments on commit c80124e

Please sign in to comment.