I'm using laravel notifications (https://laravel.com/docs/5.6/notifications) with redis queue. They all implement ShouldQueue but only some of them have to be delayed (reminders). However, when I delete object that is related to notification, I also need to delete all notifications related to object including the ones that are delayed. It is easy for the ones that are not delayed, since I can simply delete them from database, but the delayed are not on the database yet, they are still only in redis queue. Is there a way to delete delayed notifications from redis before it fires?
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2BHFgcn
via IFTTT
Aucun commentaire:
Enregistrer un commentaire