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

OCR must not be in the RECAP upload path #2963

Closed
mlissner opened this issue Jul 28, 2023 · 2 comments
Closed

OCR must not be in the RECAP upload path #2963

mlissner opened this issue Jul 28, 2023 · 2 comments

Comments

@mlissner
Copy link
Member

Yesterday, a superseding indictment was filed against the former president, and today I'm struggling to get it uploaded. The problem? It is long and needs OCR. The old flow, from before #2720, from a user's perspective:

  • Uploads were always fast.
  • Upload notifications came quickly.
  • Refreshing the page in CL had the document quickly.

Now:

  • Uploads wait for a lot of processing to happen, which can take minutes or more.
  • Upload notifications come way after an upload, and are untethered from the upload. Sometimes when they come, you go, "Wait, what the heck is this?"
  • Refreshing the page in CL doesn't show the document until OCR finishes.

We need to at least get OCR out of the upload path. It's not great that I'm struggling to upload a historical document today.

@ttys0dev, I think my approach would be to move OCR back to a celery task. What do you think? Would you have time to take this on?

@mlissner
Copy link
Member Author

For reference, I started uploading the doc a while before writing this ticket. It's still not done! 60 pages of OCR takes quite a while.

@mlissner
Copy link
Member Author

Fixed via #2969

@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in @mlissner's backlog Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant