Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Successful tasks grow beyond save_limit #225

Closed
bob-r opened this issue Mar 13, 2017 · 2 comments
Closed

Successful tasks grow beyond save_limit #225

bob-r opened this issue Mar 13, 2017 · 2 comments

Comments

@bob-r
Copy link

bob-r commented Mar 13, 2017

Detected with two simultaneously running clusters. Looks like a race condition in qcluster: https://github.com/Koed00/django-q/blob/master/django_q/cluster.py#L416

bob-r pushed a commit to bob-r/django-q that referenced this issue Jul 10, 2017
@peteyb
Copy link

peteyb commented Dec 13, 2018

Is it possible to merge this into the next version release. We have used Django-Q on two distinct projects, one works fine but the other does not clear down successful tasks.

Both projects are running python:3.6-stretch, django-q==1.0.1, dango=1.11.x and deployed to identical production environments

The only differences I can see if the frquency of tasks being processed with the one not working processing many more requests than the one which clears down successful tasks to the limit.

@jur-clerkx
Copy link

@Koed00 Would still be really nice to see this implemented. Also running multiple clusters and had to implement a scheduled task to clean up old tasks results because the list keeps growing. Happy to help if needed.

kennyhei added a commit to kennyhei/django-q that referenced this issue May 7, 2021
kennyhei added a commit to kennyhei/django-q that referenced this issue May 7, 2021
@Koed00 Koed00 closed this as completed in ad77ad7 May 7, 2021
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

No branches or pull requests

3 participants