Skip to content

Delegate update/delete operations of Django/Haystack to background tasks with RQ (http://python-rq.org)

License

Notifications You must be signed in to change notification settings

averrips/haystack-rqueue

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

haystack-rqueue

Allows you to leverage the update/delete operations of your Haystack search index to backgrounds tasks using RQ, a lightweight Redis background queue.

For use with Haystack version 2.0+.

Requirements

You also need to install your choice of one of the supported search engines for Haystack and have properly configured Redis and django-rq.

Setup

  1. Just make shure the haystack_rqueue directory is available in your PYTHON_PATH. The prefered way is to run pip install http://github.com/mandx/haystack-rqueue/tarball/master
  2. Include this line in your settings module HAYSTACK_SIGNAL_PROCESSOR = 'haystack_rqueue.signals.RQueueSignalProcessor').
  3. Configure django-rq (see the README) and ensure your Redis instance is running and it's accessible.
  4. Start the RQ workers (via $ ./manage.py rqworker).
  5. Profit!

About

Delegate update/delete operations of Django/Haystack to background tasks with RQ (http://python-rq.org)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published