refactor: Re-enable circuit breaker implementation in charging-engine credit management and rating plans

- Uncomment CircuitBreaker and CircuitBreakerError imports in credit_management.rs and rating_plans_repo.rs
- Re-enable redis_circuit_breaker execute calls for all Redis operations (get_balance, add_credit, deduct_credit, block_user, unblock_user, is_user_blocked, get_subscriber_account, update_subscriber_account, record_usage_event)
- Re-enable postgres circuit_breaker execute calls for all database operations
This commit is contained in:
nutcas3
2026-04-26 02:13:07 +03:00
parent 1d489a0a8a
commit a4aec94314
4 changed files with 76 additions and 77 deletions
+2 -3
View File
@@ -1,9 +1,8 @@
pub mod auth;
pub mod charging;
// pub mod circuit_breaker;
pub mod errors;
pub mod circuit_breaker;
pub mod rate_limit;
pub mod handlers;
// pub mod rate_limit;
pub mod routes;
pub mod models;
pub mod monitoring;