GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: add WAL checkpoint on database open (#13633) · un33k/opencode@67c985c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • packages/opencode/src/storage
    • db.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎packages/opencode/src/storage/db.ts‎

Copy file name to clipboardExpand all lines: packages/opencode/src/storage/db.ts
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export namespace Database {
7474
sqlite.run("PRAGMA busy_timeout = 5000")
7575
sqlite.run("PRAGMA cache_size = -64000")
7676
sqlite.run("PRAGMA foreign_keys = ON")
77+
sqlite.run("PRAGMA wal_checkpoint(PASSIVE)")
7778

7879
const db = drizzle({ client: sqlite, schema })
7980

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.