refactor(success_rate): update the default configs (#8098)

This commit is contained in:
Chethan Rao
2025-05-22 01:43:10 +05:30
committed by GitHub
parent 278618cc1e
commit 1cdd7d1de3
2 changed files with 6 additions and 6 deletions

View File

@ -889,12 +889,12 @@ impl Default for SuccessBasedRoutingConfig {
Self {
params: Some(vec![DynamicRoutingConfigParams::PaymentMethod]),
config: Some(SuccessBasedRoutingConfigBody {
min_aggregates_size: Some(2),
min_aggregates_size: Some(5),
default_success_rate: Some(100.0),
max_aggregates_size: Some(3),
max_aggregates_size: Some(8),
current_block_threshold: Some(CurrentBlockThreshold {
duration_in_mins: Some(5),
max_total_count: Some(2),
duration_in_mins: None,
max_total_count: Some(5),
}),
specificity_level: SuccessRateSpecificityLevel::default(),
}),