From 75dd415fb136372fe0747e1a213a82a8ab7feeb6 Mon Sep 17 00:00:00 2001 From: Andrew Schran Date: Fri, 14 Apr 2023 15:25:03 -0700 Subject: [PATCH] Clarify limits comment for consensus adapter. (#9511) --- crates/sui-core/src/consensus_adapter.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/sui-core/src/consensus_adapter.rs b/crates/sui-core/src/consensus_adapter.rs index 7d8eea52526c0..4f7e6e58249d9 100644 --- a/crates/sui-core/src/consensus_adapter.rs +++ b/crates/sui-core/src/consensus_adapter.rs @@ -506,7 +506,8 @@ impl ConsensusAdapter { let async_stage = self .clone() .submit_and_wait(transaction, epoch_store.clone()); - // Number of this tasks is limited by `sequencing_certificate_inflight` limit + // Number of these tasks is weakly limited based on `num_inflight_transactions`. + // (Limit is not applied atomically, and only to user transactions.) let join_handle = spawn_monitored_task!(async_stage); join_handle }