5

The XCMP queue drops messages if they exceed the limit:

if (count as u32) < drop_threshold {
    status[i].message_metadata.push((sent_at, format));
} else {
    debug_assert!(
        false,
        "XCMP channel queue full. Silently dropping message"
    );
}

The default config value of 5 will drop once 5 XCMP messages pile up which seems way too eager to drop for production use.

How should the queue be configured? Is the HRMP channel max capacity a reasonable value (so that in the extreme case of the whole HRMP queue being filled all those messages will be processed by the xcmp queue pallet)?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.