django - Cleanup taskmeta table of celery -


i have celery running , works nice.

celery uses default database table store task results, called celery_taskmeta. table growing fast. read docs, did not find hint cleaning old entries.

is there task automatically scheduled celerybeat, cleans table or have configure here?

[edit]

is related result backend settings? bit confusing, because documentation says, there no default value this. seems, database default , uses the default configuration of normal django database configuration.

you can manually clean table way:

from djcelery.models import taskmeta, states taskmeta.objects.filter(status=states.success).delete()


Comments

Popular posts from this blog

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -

c# - ReportViewer control - axd url -