Skip to content

Conversation

@rez1dent3
Copy link
Member

  • 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.

…chanism

- 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.
…ype safety and error handling

- Enhanced WalletServiceProvider to ensure proper type handling for database connection and cache driver.
- Updated PostgresLockService to improve error handling for database exceptions and optimized wallet locking queries.
- Refactored test cases in PostgresLockServiceTest for better clarity and consistency in user creation.
- Added type annotations for better code documentation and maintainability.
- Modified the coveralls check step in the PHP units workflow to always set the execute output to true, streamlining the process.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants