Implement PostgreSQL row-level locking and optimize wallet locking mechanism
Open
rez1dent3
opened this issue 2 weeks ago
•
0 comments
- Added PostgresLockService for handling database-level locks with improved performance.
- Updated WalletServiceProvider to resolve lock service based on configuration and database driver.
- Enhanced caching strategy to ensure balance consistency when using PostgreSQL locks.
- Updated documentation to reflect changes in locking behavior and benefits of using PostgreSQL.
- Added tests for PostgresLockService to ensure correct functionality and performance.