From 385bf3987ed77128f6f0a7b48cff9b67fcdc8b00 Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 5 Jun 2014 12:59:17 -0700 Subject: [PATCH] db locking issues fix #2 --- sickbeard/db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/db.py b/sickbeard/db.py index 016e4e96..2819d806 100644 --- a/sickbeard/db.py +++ b/sickbeard/db.py @@ -124,8 +124,8 @@ class DBConnection: attempt = 0 # Transaction - self.connection.isolation_level = 'EXCLUSIVE' - self.connection.execute('BEGIN EXCLUSIVE') + self.connection.isolation_level = None + self.connection.execute('BEGIN') while attempt < 5: try: