Skip to content

Commit

Permalink
use WAL journal for sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
mackuba committed Jun 29, 2023
1 parent e4f39be commit 7c070ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
db/*.sqlite3
db/*.sqlite3*
log
2 changes: 2 additions & 0 deletions app/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
require 'blue_factory'
require 'sinatra/activerecord'

ActiveRecord::Base.connection.execute "PRAGMA journal_mode = WAL"

BlueFactory.set :publisher_did, 'did:plc:<your_identifier_here>'
BlueFactory.set :hostname, 'feeds.example.com'

Expand Down

0 comments on commit 7c070ac

Please sign in to comment.