mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-01 19:42:27 +08:00
refactor(dynamic_routing): add info logs to log the grpc request and response (#6962)
This commit is contained in:
@ -37,6 +37,8 @@ use rand::{
|
||||
distributions::{self, Distribution},
|
||||
SeedableRng,
|
||||
};
|
||||
#[cfg(all(feature = "v1", feature = "dynamic_routing"))]
|
||||
use router_env::{instrument, tracing};
|
||||
use rustc_hash::FxHashMap;
|
||||
use storage_impl::redis::cache::{CacheKey, CGRAPH_CACHE, ROUTING_CACHE};
|
||||
|
||||
@ -1281,6 +1283,7 @@ pub fn make_dsl_input_for_surcharge(
|
||||
|
||||
/// success based dynamic routing
|
||||
#[cfg(all(feature = "v1", feature = "dynamic_routing"))]
|
||||
#[instrument(skip_all)]
|
||||
pub async fn perform_success_based_routing(
|
||||
state: &SessionState,
|
||||
routable_connectors: Vec<api_routing::RoutableConnectorChoice>,
|
||||
|
||||
Reference in New Issue
Block a user