mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
removed sleep timers from db code all together, overall speed increased.
This commit is contained in:
parent
636bbfa2de
commit
6e613145b3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue