-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #472 We weren't shutting down the DB correctly which didn't save the full write-ahead log to the DB. This was causing issues when importing - it was using the old -shm and -wal files which were causing the imported nwc.db to be discarded. - ensure full wal checkpoint is executed on shutdown - correctly shutdown DB on normal exit - shutdown service before exiting on backup restore - remove JWT middleware from backup endpoint - delete old nwc db files before backup restore to ensure restored files are used Tests: - [x] Http Mode - Backup - [x] Http Mode - Restore - [x] Wails mode - Backup - [x] Wails mode - Restore
- Loading branch information
Showing
5 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters