mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-30 11:00:14 -04:00
We use `redis_client.delete` to delete multiple keys at once, but this raises a `redis.exceptions.ResponseError` if it is called with an empty list or set. We should only call `redis_client.delete` when there is at least one item to delete.
2.0 KiB
2.0 KiB