mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-24 04:10:57 -05: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.