From 6e613145b32e3eb0a21df7e01f431990b0e380b6 Mon Sep 17 00:00:00 2001 From: echel0n Date: Sun, 20 Jul 2014 00:01:42 -0700 Subject: [PATCH] removed sleep timers from db code all together, overall speed increased. --- sickbeard/db.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sickbeard/db.py b/sickbeard/db.py index 92d2822e..b0249f4a 100644 --- a/sickbeard/db.py +++ b/sickbeard/db.py @@ -164,7 +164,7 @@ class DBConnection(object): logger.log(u"Fatal error executing query: " + ex(e), logger.ERROR) raise - time.sleep(0.02) + #time.sleep(0.02) return sqlResult @@ -201,7 +201,7 @@ class DBConnection(object): logger.log(u"Fatal error executing query: " + ex(e), logger.ERROR) raise - time.sleep(0.02) + #time.sleep(0.02) return sqlResult