mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
fix(multitenancy): add a fallback for get commands in redis (#7043)
This commit is contained in:
@ -256,7 +256,7 @@ impl<T: DatabaseStore> KVRouterStore<T> {
|
||||
.cache_store
|
||||
.redis_conn
|
||||
.stream_append_entry(
|
||||
&stream_name,
|
||||
&stream_name.into(),
|
||||
&redis_interface::RedisEntryId::AutoGeneratedID,
|
||||
redis_entry
|
||||
.to_field_value_pairs(request_id, global_id)
|
||||
@ -309,7 +309,7 @@ pub trait UniqueConstraints {
|
||||
let constraints = self.unique_constraints();
|
||||
let sadd_result = redis_conn
|
||||
.sadd(
|
||||
&format!("unique_constraint:{}", self.table_name()),
|
||||
&format!("unique_constraint:{}", self.table_name()).into(),
|
||||
constraints,
|
||||
)
|
||||
.await?;
|
||||
|
||||
Reference in New Issue
Block a user