John Obelenus

Results 19 comments of John Obelenus

This works great. Can we make a pull request for this?

Sorting in python is pretty quick, you can always read your results to a multi-dimensional dict with keys of score and your custom field, and then just write a sort...

Sure. Starting in the signal processor: https://github.com/django-haystack/celery-haystack/blob/develop/celery_haystack/signals.py#L44 And this is the `def enqueue_task`: https://github.com/django-haystack/celery-haystack/blob/develop/celery_haystack/utils.py#L41 Where `def get_update_task(task_path=None):` is the method signature (that defaults to the setting: `CELERY_HAYSTACK_DEFAULT_TASK`). Let me know...

Since celery doesn't support message priority I have to separate out the messages into different queues and then allocate the amount of resources I want to each queue. Correct?

That is precisely what I was thinking. More than happy to do the work. Just wanted to make sure thats an approach you all want to support/accept into the project...

Hrmm, this is odd... while testing I'm getting this trace. I've forked off master and made my changes, but something seems to be not quite write with the app config?...

I can do `from celery_haystack.conf import settings` but that settings dict doesn't have any `CELERY_X....` settings in it. Where is the magic that loads the CeleryHaystack AppConf into the settings?...

Well of course that will work, if i add the setting -- but that isn't really a solution to the problem, and there are at least 3 settings that the...

I thought perhaps this would fix it, but it doesn't https://github.com/jobelenus/celery-haystack/commit/2479424f326f97e6752a9c8fee4c14bb74ef3a53 (e.g. that the relative import was using my apps settings file instead of the celery_haystack)

Sure, its really not much. I'm not even using the new feature yet. `lenspro.tasks.py`: ``` +from celery_haystack.tasks import CeleryHaystackSignalHandler +class CustomerCeleryHaystackSignalHandler(CeleryHaystackSignalHandler): + pass ``` `lenspro.settings.py`: ``` CELERY_ROUTES = { ......