laravel-wallet icon indicating copy to clipboard operation
laravel-wallet copied to clipboard

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.

rez1dent3 avatar Nov 28 '25 20:11 rez1dent3