jtrain

Results 15 comments of jtrain

My PR has a test case showing the error... see here: https://github.com/gavinwahl/django-postgres-queue/pull/9/files#diff-0dd428d04a9d4f8d2baa476299f0eb03R12-R24 its isn't as you say. Just two queues working on the same job table - each wanting to...

I picked up this project to try today and I made some helper API for the enqueue functionality. It is somewhat based on how task registration happens in celery. for...

I also agree with the JSON being a good option vs pickle. While pickle does have the advantages you listed, I don't think they outweigh the simplicity that JSON provides.

Final comment about the different queues concept. Is it not available out of the box (edit: perhaps not see update below)? I was able to set up three queues, with...

I register them in the app ready method

I'm going to try making the separate queues. It shouldn't need much of a change to this project, and I'll make a minimal sized PR to show.

@cb109 i mentioned in the other thread about my worries with a nested serializer. Especially for model serializers whose `get_fields` function is very slow. Try for yourself, and see if...

Are you able to show a test case for the problem you were seeing? It sounds like you are POSTing to an endpoint but also adding the `fields` query param...

e.g. `POST {'name': 'dwisulfahnur'} /api/v1/committers?fields=id`

Correct me if I'm wrong, but a valid use-case might be someone who has expensive fields, and wants to POST their content, and only get back a subset of the...