-
Notifications
You must be signed in to change notification settings - Fork 35
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
Task that clears old polls results #695
Comments
Some UReporters customers have questioned why old polls has no data |
Hi @norkans7 , can you help us with this? |
@matmsa27 @Leosantos25 on rapidpro flow runs for flows older than 90days are moved to the archives. If polls are missing stats then you can investigate to know the reason why for each. You can refresh the results and that will use the archives for older polls, |
@norkans7 Alright, so the idea is to give older polls 90 one last update and store them. Do you remember having to deal with this a couple of years ago, maybe other workspaces hosts? Thanks for the help! |
Previously we assumed polls are added as soon as the flow is created/sent on RapidPro. For every polls that did not have results, we restarted them until we added that recent way to address that automatically. You can investigate to make sure that is the same problem as there might be other reasons for not having results for a poll. |
Hi everyone,
We've recently noticed this task that apparently clears results for old polls (90 days prior to the current date):
ureport/ureport/polls/tasks.py
Line 202 in 89b9f40
.
The question is: why is this task necessary since we want to display data for longer that? Any particular reason?
Thanks in advance.
The text was updated successfully, but these errors were encountered: