Skip to content

Conversation

@hongwen000
Copy link

@hongwen000 hongwen000 commented May 31, 2022

Description

Persiste the completed tasks to a json database (based on lowdb).
The database location is in the Data directory returned by the env-paths package.
Implemented a simple caching policy to avoid keeping reading the database.

Related Issues

Fixes #645

Checklist:

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Have you linted your code locally prior to submission?
  • Have you successfully ran app with your changes locally?

Tested

  • Persisting to db
  • Reading from db
  • Delete task from db
  • Purge all tasks

Tested
- Persisting to db
- Reading from db
- Delete task from db
@agalwood
Copy link
Owner

agalwood commented May 2, 2023

Sorry for replying to you now, your PR branch cannot be merged automatically due to conflicts, you need to re-update the dependency adaptation.

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

Successfully merging this pull request may close these issues.

重启后“已停止”记录会清空

3 participants