Skip to content

Commit 3033ace

Browse files
I don't need some of these pragma for my use case
1 parent 83adecc commit 3033ace

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

pioreactor/tests/test_stirring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def collect(msg):
219219
assert bucket == []
220220

221221

222-
def test_stirring_dodge_od_reading() -> None:
222+
def test_stirring_will_try_to_restart_and_dodge_od_reading() -> None:
223223
from pioreactor.background_jobs.od_reading import start_od_reading
224224

225225
exp = "test_stirring_will_try_to_restart_and_dodge_od_reading"

pioreactor/utils/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,7 @@ def __enter__(self):
344344
self.cursor.executescript(
345345
"""
346346
PRAGMA busy_timeout = 5000;
347-
PRAGMA synchronous = 1; -- aka NORMAL, recommended when using WAL
348347
PRAGMA temp_store = 2; -- stop writing small files to disk, use mem
349-
PRAGMA foreign_keys = ON;
350348
PRAGMA cache_size = -4000;
351349
"""
352350
)
@@ -633,7 +631,6 @@ def __init__(self) -> None:
633631
self.conn.executescript(
634632
"""
635633
PRAGMA busy_timeout = 5000;
636-
PRAGMA synchronous = NORMAL;
637634
PRAGMA temp_store = 2;
638635
PRAGMA foreign_keys = ON;
639636
PRAGMA cache_size = -4000;

0 commit comments

Comments
 (0)