Skip to content

Commit 231ad25

Browse files
revert minor refactors
1 parent 9547759 commit 231ad25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/router/src/core/routing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ pub async fn success_based_routing_update_configs(
13391339

13401340
// refresh cache for success based routing configs
13411341
let cache_key = format!(
1342-
"{}_{}",
1342+
"{}:{}",
13431343
profile_id.get_string_repr(),
13441344
algorithm_id.get_string_repr()
13451345
);

crates/router/src/core/routing/helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ pub async fn fetch_success_based_routing_configs(
616616
})?;
617617

618618
let key = format!(
619-
"{}_{}",
619+
"{}:{}",
620620
business_profile.get_id().get_string_repr(),
621621
success_based_routing_id.get_string_repr()
622622
);

0 commit comments

Comments
 (0)