redis-semaphore icon indicating copy to clipboard operation
redis-semaphore copied to clipboard

When should `delete!` be used?

Open denishaskin opened this issue 4 years ago • 0 comments

The documentation says For most situations just using the delete! command should suffice to remove all semaphore keys from the server after you're done using the semaphore.

When exactly would you use delete!? After unlocking a semaphore? But delete! looks like it just blindly deletes keys from Redis... what if you have a semaphore with multiple resources?

denishaskin avatar Mar 10 '20 14:03 denishaskin