mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 00:49:42 +08:00
fix(routing): update_gateway_score_condition (#9452)
This commit is contained in:
committed by
GitHub
parent
46090ea06d
commit
31f1cd77c2
@ -9487,9 +9487,8 @@ impl RoutingApproach {
|
||||
pub fn from_decision_engine_approach(approach: &str) -> Self {
|
||||
match approach {
|
||||
"SR_SELECTION_V3_ROUTING" => Self::SuccessRateExploitation,
|
||||
"SR_V3_HEDGING" => Self::SuccessRateExploration,
|
||||
"SR_V3_HEDGING" | "DEFAULT" => Self::SuccessRateExploration,
|
||||
"NTW_BASED_ROUTING" => Self::DebitRouting,
|
||||
"DEFAULT" => Self::StraightThroughRouting,
|
||||
_ => Self::DefaultFallback,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user