mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-10-31 01:57:45 +08:00 
			
		
		
		
	feat(storage_impl): split payment intent interface implementation (#1946)
This commit is contained in:
		| @ -9,8 +9,8 @@ pub type PgPool = bb8::Pool<async_bb8_diesel::ConnectionManager<PgConnection>>; | ||||
| pub type PgPooledConn = async_bb8_diesel::Connection<PgConnection>; | ||||
|  | ||||
| #[async_trait::async_trait] | ||||
| pub trait DatabaseStore: Clone + Send { | ||||
|     type Config; | ||||
| pub trait DatabaseStore: Clone + Send + Sync { | ||||
|     type Config: Send; | ||||
|     async fn new(config: Self::Config, test_transaction: bool) -> Self; | ||||
|     fn get_master_pool(&self) -> &PgPool; | ||||
|     fn get_replica_pool(&self) -> &PgPool; | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Sampras Lopes
					Sampras Lopes