gaffneyc / sunspot-queue

Background search indexing using existing worker systems
MIT License
35 stars 37 forks source link

Checking for existence of object before enqueue? #27

Open mbhnyc opened 7 years ago

mbhnyc commented 7 years ago

Hey all,

We're seeing quite a few jobs in our queue for objects that were destroyed — can we add a check for destroyed? (well, if it's an ActiveRecord instance) before enqueue? Or am I doing something wrong?

Happy to provide a PR for this.

Thanks!

mbhnyc commented 7 years ago

ping!