use WAL on sqlite3
This commit is contained in:
parent
5bbb29fd79
commit
5d69e74010
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ class DiskBlobManager(DHTHashSupplier):
|
|||
# threads.
|
||||
|
||||
def create_tables(transaction):
|
||||
transaction.execute('PRAGMA journal_mode=WAL')
|
||||
transaction.execute("create table if not exists blobs (" +
|
||||
" blob_hash text primary key, " +
|
||||
" blob_length integer, " +
|
||||
|
|
Loading…
Reference in a new issue