mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +08:00 
			
		
		
		
	feat(revenue_recovery): add support to fetch data and update additional token data in redis (#9611)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		| @ -485,6 +485,14 @@ impl super::RedisConnectionPool { | ||||
|             .change_context(errors::RedisError::SetExpiryFailed) | ||||
|     } | ||||
|  | ||||
|     #[instrument(level = "DEBUG", skip(self))] | ||||
|     pub async fn get_ttl(&self, key: &RedisKey) -> CustomResult<i64, errors::RedisError> { | ||||
|         self.pool | ||||
|             .ttl(key.tenant_aware_key(self)) | ||||
|             .await | ||||
|             .change_context(errors::RedisError::GetFailed) | ||||
|     } | ||||
|  | ||||
|     #[instrument(level = "DEBUG", skip(self))] | ||||
|     pub async fn set_hash_fields<V>( | ||||
|         &self, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 AdityaWNL
					AdityaWNL