Minor fixes (#6533)

* Minor fixes

* Fix compile errors
This commit is contained in:
Marcin S
2023-01-10 12:59:12 -05:00
committed by GitHub
parent 2d85a3881a
commit 3cf18f11ac
3 changed files with 4 additions and 7 deletions
+1 -4
View File
@@ -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() }