mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #2646] [MERGED] Add checkpoint handling in CloseDB function #5222
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#5222
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/2646
Author: @izzzzzi
Created: 1/21/2025
Status: ✅ Merged
Merged: 1/21/2025
Merged by: @MHSanaei
Base:
main← Head:main📝 Commits (3)
4dce28dEnhance database initialization in db.go8931204Add checkpoint handling in CloseDB function46ed1b3Merge branch 'MHSanaei:main' into main📊 Changes
1 file changed (+5 additions, -0 deletions)
View changed files
📝
database/db.go(+5 -0)📄 Description
This update enhances the
CloseDBfunction by introducing a checkpoint handling mechanism using theCheckpointfunction. The checkpoint ensures that all changes from the Write-Ahead Logging (WAL) file are written back to the main SQLite database file before closing the database connection.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.