Skip to content

Commit 83ca087

Browse files
authored
change max pending futures and budget limits (#311)
1 parent 76216a4 commit 83ca087

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/manager/src/manager/budget.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// The budget for the L1 notification channel.
2-
pub(crate) const L1_NOTIFICATION_CHANNEL_BUDGET: u32 = 10;
2+
pub(crate) const L1_NOTIFICATION_CHANNEL_BUDGET: u32 = 5;
33

44
/// Polls the given stream. Breaks with `true` if there maybe is more work.
55
#[macro_export]

crates/manager/src/manager/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ const EVENT_CHANNEL_SIZE: usize = 100;
6565

6666
/// The maximum capacity of the pending futures queue in the chain orchestrator for acceptance of
6767
/// new events from the L1 notification channel.
68-
const CHAIN_ORCHESTRATOR_MAX_PENDING_FUTURES: usize = 5000;
68+
const CHAIN_ORCHESTRATOR_MAX_PENDING_FUTURES: usize = 20;
6969

7070
/// The maximum number of pending futures in the engine driver for acceptance of new events from the
7171
/// L1 notification channel.

0 commit comments

Comments
 (0)