diff options
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: |