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

The configuration settings aren't working for me #141

Open
ravitdx opened this issue Jun 2, 2021 · 0 comments
Open

The configuration settings aren't working for me #141

ravitdx opened this issue Jun 2, 2021 · 0 comments

Comments

@ravitdx
Copy link

ravitdx commented Jun 2, 2021

Hi,

I am using django==1.8.19, celery==4.1.1,django-celery-monitor==1.1.2. And I want celery tasks to be preserved a bit longer in celery monitor. But, tasks stays only for 5 days max. I tried making configuration as stated in the readme. But, no use. Here is my code.


from datetime import timedelta
monitor_task_success_expires = timedelta(days=6*30)
monitor_task_error_expires = timedelta(days=6*30)
monitor_task_pending_expires = timedelta(days=6*30)`

All other settings in my django settings file are capital letters. do I have make these also in capital letters? like this?

MONITOR_TASK_SUCCESS_EXPIRES = timedelta(days=6*30)

please help me.

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

1 participant