chore(db): fix debug logging (#10033)

Looks like a copy&paste error
This commit is contained in:
bt90
2025-04-03 20:21:39 +02:00
committed by GitHub
parent 1dbdd6b720
commit bae976905c
+1 -1
View File
@@ -585,7 +585,7 @@ func (s *DB) periodicCheckpointLocked(fs []protocol.FileInfo) {
}
defer conn.Close()
if _, err := conn.ExecContext(context.Background(), `PRAGMA journal_size_limit = 67108864`); err != nil {
l.Debugln("PRAGMA journal_size_limit(RESTART):", err)
l.Debugln("PRAGMA journal_size_limit:", err)
}
if _, err := conn.ExecContext(context.Background(), `PRAGMA wal_checkpoint(RESTART)`); err != nil {
l.Debugln("PRAGMA wal_checkpoint(RESTART):", err)