Skip to content
Snippets Groups Projects
Commit 3cf18f11 authored by Marcin S.'s avatar Marcin S. Committed by GitHub
Browse files

Minor fixes (#6533)

* Minor fixes

* Fix compile errors
parent 2d85a388
No related merge requests found
......@@ -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
},
};
......
......@@ -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>,
......
......@@ -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() }
......
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