summaryrefslogtreecommitdiffstats
path: root/module/FileDatabase.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-07 18:47:34 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-10-07 18:47:34 +0200
commitdf0e93c878c2f6cf1c914516a7c754edfea7d3ce (patch)
tree11314814e60fe354f8b38fbd1bb04a59a778cb68 /module/FileDatabase.py
parentrecycle sqlite connection (diff)
downloadpyload-df0e93c878c2f6cf1c914516a7c754edfea7d3ce.tar.xz
files.mail.ru closed #101
Diffstat (limited to 'module/FileDatabase.py')
-rw-r--r--module/FileDatabase.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/FileDatabase.py b/module/FileDatabase.py
index 4bcb63764..468d7c478 100644
--- a/module/FileDatabase.py
+++ b/module/FileDatabase.py
@@ -569,9 +569,9 @@ class FileDatabaseBackend(Thread):
try:
f, args, async = self.jobs.get()
self.used += 1
- if f == "quit": return True
- if self.used > 300: #recycle connection
- self.recycleConnection()
+ #if f == "quit": return True
+ #if self.used > 300: #recycle connection
+ # self.recycleConnection()
res = f(*args)
if not async: self.res.put(res)
except Exception, e: