fix for a bug reported by Ulisses Castro (Too many open files) - also, added an important caching mechanism with thread safe logic

This commit is contained in:
Miroslav Stampar
2010-11-01 20:56:13 +00:00
parent 720e235d9a
commit 73b33ed765
4 changed files with 19 additions and 5 deletions

View File

@@ -993,6 +993,7 @@ def __setConfAttributes():
conf.outputPath = None
conf.paramDict = {}
conf.parameters = {}
conf.parseLock = None
conf.path = None
conf.port = None
conf.redirectHandled = False
@@ -1022,6 +1023,7 @@ def __setKnowledgeBaseAttributes():
kb.bannerFp = advancedDict()
kb.cache = advancedDict()
kb.cache.content = {}
kb.cache.regex = {}
kb.commonOutputs = None