diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-07 18:47:34 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-07 18:47:34 +0200 |
commit | df0e93c878c2f6cf1c914516a7c754edfea7d3ce (patch) | |
tree | 11314814e60fe354f8b38fbd1bb04a59a778cb68 /module/FileDatabase.py | |
parent | recycle sqlite connection (diff) | |
download | pyload-df0e93c878c2f6cf1c914516a7c754edfea7d3ce.tar.xz |
files.mail.ru closed #101
Diffstat (limited to 'module/FileDatabase.py')
-rw-r--r-- | module/FileDatabase.py | 6 |
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: |