John Obelenus
John Obelenus
So I can do this: `{'queue': 'customerindex'}` Because right now all the indexing jobs go into the `CeleryHaystackSignalHandler` task. And since all the model index updates go into there I...
No. `priority` is not a valid task_path. Task path is a dot string pointing to a celery task: https://github.com/django-haystack/celery-haystack/blob/develop/celery_haystack/utils.py#L14 So my index change would be: ``` class CustomerIndex(CelerySearchIndex, indexes.Indexable): task_path...
If I do not import `CeleryHaystackSignalHandler` and create my subclass in my tasks file it works without an error. But the message doesn't get routed to a different celery queue...
OK -- small update: I did not realize that the conf.py file was using an outside appconf (i read it quickly and thought it was the Django AppConfig), egg on...
Right, I went with the (now Django preferred) of `INSTALLED_APPS = ['celery_haystack.apps.CeleryHaystackAppConfig',]` in this case, but definitely for the project settings in `__init__.py` I would have to add that
OK -- I finally figured out my other problem. I will polish this up and submit a PR
Sorry its been a while here, was dealing with other fallout. I noticed that I can't squash the commits for the PR I want to submit (its much cleaner that...
Hrmm I saw the error: ``` flake8 celery_haystack --ignore=E501 celery_haystack/apps.py:1:1: F401 'CeleryHaystack' imported but unused celery_haystack/apps.py:1:33: E261 at least two spaces before inline comment ``` Obviously the comment flake can...