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

feat: rewrite so results are written to disk as they arrive #126

Open
MartinBernstorff opened this issue Mar 31, 2024 · 0 comments
Open

Comments

@MartinBernstorff
Copy link
Owner

MartinBernstorff commented Mar 31, 2024

Convert more of the main code to async, and write to markdown as results arrive. This means that, in the case of a crash, some results are still saved, and we can resume.

By implication, we might want to track "last updated" by document. Then we can avoid reprocessing highlights more than once. We could do that in .memorymarker.

OTOH, this might also be a lot of complexity for benefit only at times where we process large batches.

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