mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 10:27:46 +08:00
fix(admin): make bulk wallet batches idempotent
This commit is contained in:
@@ -496,6 +496,21 @@ pub struct AppState {
|
||||
#[cfg(test)]
|
||||
pub(crate) auth_wallet_lookup_error_for_tests: Option<String>,
|
||||
#[cfg(test)]
|
||||
pub(crate) auth_wallet_batch_store_for_tests: Option<
|
||||
Arc<
|
||||
StdMutex<
|
||||
HashMap<
|
||||
(String, String),
|
||||
aether_data::repository::wallet::StoredAdminUserWalletBalanceBatch,
|
||||
>,
|
||||
>,
|
||||
>,
|
||||
>,
|
||||
#[cfg(test)]
|
||||
pub(crate) auth_wallet_batch_operation_lock_for_tests: Arc<TokioMutex<()>>,
|
||||
#[cfg(test)]
|
||||
pub(crate) auth_wallet_batch_failure_record_error_for_tests: Option<String>,
|
||||
#[cfg(test)]
|
||||
pub(crate) admin_wallet_payment_order_store:
|
||||
Option<Arc<StdMutex<HashMap<String, AdminWalletPaymentOrderRecord>>>>,
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user