Skip to content

Conversation

@j4mie
Copy link
Member

@j4mie j4mie commented Oct 13, 2015

Should prevent memory leaks.

@weargoggles
Copy link
Contributor

I found a difference [redacted]

weargoggles and others added 5 commits October 13, 2015 14:40
the tests were attempting to set the created date upon creation, which will not
work per the Django docs for an auto_now_add field: "Note that the current date
is always used; it’s not just a default value that you can override." -
https://docs.djangoproject.com/en/1.8/ref/models/fields/#django.db.models.DateField.auto_now_add

The tests seemed to be looking for the oldest ready job, so adjusted the model's
default ordering to compensate.
weargoggles pushed a commit that referenced this pull request Oct 16, 2015
Use multiprocessing to run tasks in child processes
@weargoggles weargoggles merged commit d4a7d50 into master Oct 16, 2015
@weargoggles weargoggles deleted the jobs-in-child-processes branch October 16, 2015 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants