mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
try only disabling PRAGMA synchronous = OFF
This commit is contained in:
parent
8722315f35
commit
48655ce39d
2 changed files with 2 additions and 2 deletions
|
@ -7,6 +7,6 @@ python:
|
||||||
- "pypy3"
|
- "pypy3"
|
||||||
|
|
||||||
install: pip install -e .
|
install: pip install -e .
|
||||||
before_script: pokedex load -S && pokedex reindex
|
before_script: pokedex setup -v
|
||||||
script: py.test
|
script: py.test
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
|
@ -156,7 +156,7 @@ def load(session, tables=[], directory=None, drop_tables=False, verbose=False, s
|
||||||
|
|
||||||
# SQLite speed tweaks
|
# SQLite speed tweaks
|
||||||
if not safe and engine.dialect.name == 'sqlite':
|
if not safe and engine.dialect.name == 'sqlite':
|
||||||
session.execute("PRAGMA synchronous=OFF")
|
#session.execute("PRAGMA synchronous=OFF")
|
||||||
session.execute("PRAGMA journal_mode=OFF")
|
session.execute("PRAGMA journal_mode=OFF")
|
||||||
|
|
||||||
# Drop all tables if requested
|
# Drop all tables if requested
|
||||||
|
|
Loading…
Reference in a new issue