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

Improve source refresh status in admin #111

Closed
3 tasks done
submarcos opened this issue Mar 8, 2023 · 0 comments · Fixed by #176
Closed
3 tasks done

Improve source refresh status in admin #111

submarcos opened this issue Mar 8, 2023 · 0 comments · Fixed by #176
Labels
admin backend enhancement New feature or request
Milestone

Comments

@submarcos
Copy link
Member

submarcos commented Mar 8, 2023

Refresh status is get from async celery task.

These tasks are deleted in backend.

Sources are marked as "PENDING" when no data is find.

Solution:

  • Store results (success, error, pending, started) in Source.report .
    • state / start time / end time / result
  • Read from this to provide info to admin.
  • Store all refresh infos in report (added / update / deleted count + exceptions)
@submarcos submarcos added the enhancement New feature or request label Mar 8, 2023
@submarcos submarcos added this to the 2.1.0 milestone Mar 9, 2023
@submarcos submarcos linked a pull request Sep 1, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin backend enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant