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

Skip upload of CSV files that have already been uploaded #99

Open
Tracked by #119
nya-elimu opened this issue Nov 18, 2020 · 0 comments
Open
Tracked by #119

Skip upload of CSV files that have already been uploaded #99

nya-elimu opened this issue Nov 18, 2020 · 0 comments
Assignees

Comments

@nya-elimu
Copy link
Member

nya-elimu commented Nov 18, 2020

If a CSV file has already been successfully uploaded, do not include that file in future uploads. Mark a CSV file as successfully uploaded if the server response is successful (HTTP 200...300): https://github.com/elimu-ai/webapp/tree/main/src/main/java/ai/elimu/rest/v2/analytics

This will reduce number of requests sent to the server.

Implement this in a way that does not exclude events that are added to an uploaded CSV file later the same day.


Depends on #116
Depends on elimu-ai/webapp#1551

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant