I need to lock deposit operation. Can i use Wallet::lockForUpdate()->find(1) or Atomic Locks in laravel. How can I use redis?
Wallet::lockForUpdate()->find(1)