Clean up auto_vacuum comment for fresh database deployment
This commit is contained in:
parent
d7e6f46320
commit
5d7358fce6
@ -113,7 +113,7 @@ func (d *Database) Initialize() error {
|
|||||||
"PRAGMA wal_checkpoint(TRUNCATE)", // Checkpoint and truncate WAL now
|
"PRAGMA wal_checkpoint(TRUNCATE)", // Checkpoint and truncate WAL now
|
||||||
"PRAGMA busy_timeout=5000", // 5 second busy timeout
|
"PRAGMA busy_timeout=5000", // 5 second busy timeout
|
||||||
"PRAGMA analysis_limit=0", // Disable automatic ANALYZE
|
"PRAGMA analysis_limit=0", // Disable automatic ANALYZE
|
||||||
"PRAGMA auto_vacuum=INCREMENTAL", // Enable incremental vacuum (new DBs only)
|
"PRAGMA auto_vacuum=INCREMENTAL", // Enable incremental vacuum
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, pragma := range pragmas {
|
for _, pragma := range pragmas {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user