mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 00:04:25 +00:00
Vacuum FeedSettings and Sync databases on launch.
This commit is contained in:
1 parent
84e3167282
commit
64540dbde5
2 files changed
+2
-2
No files matched your search
@@ -19,7 +19,7 @@ public actor SyncDatabase {
|
||||
let database = FMDatabase.openAndSetUpDatabase(path: databasePath)
|
||||
database.runCreateStatements(Self.tableCreationStatements)
|
||||
if !Platform.isRunningUnitTests {
|
||||
database.vacuumIfNeeded(daysBetweenVacuums: 11, filepath: databasePath)
|
||||
database.vacuum()
|
||||
}
|
||||
|
||||
self.database = database
|
||||
|
||||
Reference in new issue
Block a user