Command: grep -n -A 15 "impl Default for SuccessBasedRoutingConfig"…
- User
Command: grep -n -A 15 "impl Default for SuccessBasedRoutingConfig" crates/api_models/src/routing.rs Output: 887:impl Default for SuccessBasedRoutingConfig { 888- fn default() -> Self { 889- Self { 890- params: Some(vec![DynamicRoutingConfigParams::PaymentMethod]), 891- config: Some(SuccessBasedRoutingConfigBody { 892- min_aggregates_size: Some(2), 893- default_success_rate: Some(100.0), 894- max_aggregates_size: Some(3), 895- current_block_threshold: Some(CurrentBlockThreshold { 896- duration_in_mins: Some(5), 897- max_total_count: Some(2), 898- }), 899- specificity_level: SuccessRateSpecificityLevel::default(), 900- }), 901- } 902- }
Assistant
<is_displaying_contents> true </is_displaying_contents>