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

Revert DB info on timeout #23

Open
2 tasks
m5136771 opened this issue Jan 27, 2023 · 1 comment
Open
2 tasks

Revert DB info on timeout #23

m5136771 opened this issue Jan 27, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@m5136771
Copy link
Owner

Currently, the docs retrieved in practice sessions are updated as the command runs.

When a timeout occurs, there is still an attempt logged in the db, but with missing or incorrect information. This will mess up future practice sessions.

  • Fix DB read/writes in cases of timeouts or errors (look at saving doc only once at the very end).
  • Clean DB of previous incorrect entries.
@m5136771 m5136771 added the bug Something isn't working label Jan 27, 2023
@m5136771 m5136771 self-assigned this Jan 27, 2023
@m5136771
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant