agentgui 1.0.810 → 1.0.811
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/database.js +3 -2
- package/package.json +1 -1
package/database.js
CHANGED
|
@@ -621,8 +621,9 @@ try {
|
|
|
621
621
|
if (mode !== 2) { // 2 = INCREMENTAL
|
|
622
622
|
console.log('[Migration] Enabling incremental auto_vacuum (one-time VACUUM)...');
|
|
623
623
|
db.exec('PRAGMA auto_vacuum = INCREMENTAL');
|
|
624
|
-
|
|
625
|
-
|
|
624
|
+
// VACUUM skipped intentionally — full VACUUM on large DBs blocks server startup
|
|
625
|
+
// INCREMENTAL auto_vacuum will apply to new pages going forward
|
|
626
|
+
console.log('[Migration] auto_vacuum = INCREMENTAL enabled (VACUUM skipped)');
|
|
626
627
|
}
|
|
627
628
|
} catch (err) {
|
|
628
629
|
console.error('[Migration] auto_vacuum setup error:', err.message);
|