Skip to content

Commit

Permalink
disable WAL until this is fixed: superfly/litefs#425
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Jan 22, 2024
1 parent 1d51912 commit 7bdc533
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions other/litefs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ exec:
- cmd: npx prisma migrate deploy
if-candidate: true

# Set the journal mode for the database to WAL. This reduces concurrency deadlock issues
- cmd: sqlite3 $DATABASE_PATH "PRAGMA journal_mode = WAL;"
if-candidate: true

# Set the journal mode for the cache to WAL. This reduces concurrency deadlock issues
- cmd: sqlite3 $CACHE_DATABASE_PATH "PRAGMA journal_mode = WAL;"
if-candidate: true
# re-enable these when this is fixed: https://github.com/superfly/litefs/issues/425
# # Set the journal mode for the database to WAL. This reduces concurrency deadlock issues
# - cmd: sqlite3 $DATABASE_PATH "PRAGMA journal_mode = WAL;"
# if-candidate: true

# # Set the journal mode for the cache to WAL. This reduces concurrency deadlock issues
# - cmd: sqlite3 $CACHE_DATABASE_PATH "PRAGMA journal_mode = WAL;"
# if-candidate: true

- cmd: npm start

0 comments on commit 7bdc533

Please sign in to comment.