Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cherrypick to 1.35 #19855

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/sui-config/src/node.rs
Original file line number Diff line number Diff line change
Expand Up @@ -874,7 +874,7 @@ pub struct AuthorityOverloadConfig {
}

fn default_max_txn_age_in_queue() -> Duration {
Duration::from_secs(1)
Duration::from_millis(200)
}

fn default_overload_monitor_interval() -> Duration {
Expand Down Expand Up @@ -910,7 +910,7 @@ fn default_max_transaction_manager_queue_length() -> usize {
}

fn default_max_transaction_manager_per_object_queue_length() -> usize {
100
20
}

impl Default for AuthorityOverloadConfig {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ validator_configs:
- Twitch
authority-overload-config:
max-txn-age-in-queue:
secs: 1
nanos: 0
secs: 0
nanos: 200000000
overload-monitor-interval:
secs: 10
nanos: 0
Expand All @@ -161,7 +161,7 @@ validator_configs:
safe-transaction-ready-rate: 100
check-system-overload-at-signing: true
max-transaction-manager-queue-length: 100000
max-transaction-manager-per-object-queue-length: 100
max-transaction-manager-per-object-queue-length: 20
execution-cache:
writeback-cache:
max_cache_size: ~
Expand Down Expand Up @@ -315,8 +315,8 @@ validator_configs:
- Twitch
authority-overload-config:
max-txn-age-in-queue:
secs: 1
nanos: 0
secs: 0
nanos: 200000000
overload-monitor-interval:
secs: 10
nanos: 0
Expand All @@ -331,7 +331,7 @@ validator_configs:
safe-transaction-ready-rate: 100
check-system-overload-at-signing: true
max-transaction-manager-queue-length: 100000
max-transaction-manager-per-object-queue-length: 100
max-transaction-manager-per-object-queue-length: 20
execution-cache:
writeback-cache:
max_cache_size: ~
Expand Down Expand Up @@ -485,8 +485,8 @@ validator_configs:
- Twitch
authority-overload-config:
max-txn-age-in-queue:
secs: 1
nanos: 0
secs: 0
nanos: 200000000
overload-monitor-interval:
secs: 10
nanos: 0
Expand All @@ -501,7 +501,7 @@ validator_configs:
safe-transaction-ready-rate: 100
check-system-overload-at-signing: true
max-transaction-manager-queue-length: 100000
max-transaction-manager-per-object-queue-length: 100
max-transaction-manager-per-object-queue-length: 20
execution-cache:
writeback-cache:
max_cache_size: ~
Expand Down Expand Up @@ -655,8 +655,8 @@ validator_configs:
- Twitch
authority-overload-config:
max-txn-age-in-queue:
secs: 1
nanos: 0
secs: 0
nanos: 200000000
overload-monitor-interval:
secs: 10
nanos: 0
Expand All @@ -671,7 +671,7 @@ validator_configs:
safe-transaction-ready-rate: 100
check-system-overload-at-signing: true
max-transaction-manager-queue-length: 100000
max-transaction-manager-per-object-queue-length: 100
max-transaction-manager-per-object-queue-length: 20
execution-cache:
writeback-cache:
max_cache_size: ~
Expand Down Expand Up @@ -825,8 +825,8 @@ validator_configs:
- Twitch
authority-overload-config:
max-txn-age-in-queue:
secs: 1
nanos: 0
secs: 0
nanos: 200000000
overload-monitor-interval:
secs: 10
nanos: 0
Expand All @@ -841,7 +841,7 @@ validator_configs:
safe-transaction-ready-rate: 100
check-system-overload-at-signing: true
max-transaction-manager-queue-length: 100000
max-transaction-manager-per-object-queue-length: 100
max-transaction-manager-per-object-queue-length: 20
execution-cache:
writeback-cache:
max_cache_size: ~
Expand Down Expand Up @@ -995,8 +995,8 @@ validator_configs:
- Twitch
authority-overload-config:
max-txn-age-in-queue:
secs: 1
nanos: 0
secs: 0
nanos: 200000000
overload-monitor-interval:
secs: 10
nanos: 0
Expand All @@ -1011,7 +1011,7 @@ validator_configs:
safe-transaction-ready-rate: 100
check-system-overload-at-signing: true
max-transaction-manager-queue-length: 100000
max-transaction-manager-per-object-queue-length: 100
max-transaction-manager-per-object-queue-length: 20
execution-cache:
writeback-cache:
max_cache_size: ~
Expand Down Expand Up @@ -1165,8 +1165,8 @@ validator_configs:
- Twitch
authority-overload-config:
max-txn-age-in-queue:
secs: 1
nanos: 0
secs: 0
nanos: 200000000
overload-monitor-interval:
secs: 10
nanos: 0
Expand All @@ -1181,7 +1181,7 @@ validator_configs:
safe-transaction-ready-rate: 100
check-system-overload-at-signing: true
max-transaction-manager-queue-length: 100000
max-transaction-manager-per-object-queue-length: 100
max-transaction-manager-per-object-queue-length: 20
execution-cache:
writeback-cache:
max_cache_size: ~
Expand Down
Loading