diff --git a/packages/opencode/src/storage/db.ts b/packages/opencode/src/storage/db.ts index 06f1f84a9ae7..a5b373721cb3 100644 --- a/packages/opencode/src/storage/db.ts +++ b/packages/opencode/src/storage/db.ts @@ -103,7 +103,7 @@ export const Client = Object.assign( db.run("PRAGMA journal_mode = WAL") db.run("PRAGMA synchronous = NORMAL") - db.run("PRAGMA busy_timeout = 5000") + db.run("PRAGMA busy_timeout = 10000") db.run("PRAGMA cache_size = -64000") db.run("PRAGMA foreign_keys = ON") db.run("PRAGMA wal_checkpoint(PASSIVE)")