@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user