|
|
@ -220,7 +220,7 @@ class ThreadManager:
|
|
|
|
lock = RLock()
|
|
|
|
lock = RLock()
|
|
|
|
ThreadManager.Pool['monitor'] = Top(config,lock)
|
|
|
|
ThreadManager.Pool['monitor'] = Top(config,lock)
|
|
|
|
ThreadManager.Pool['learner'] = Learner(config,lock)
|
|
|
|
ThreadManager.Pool['learner'] = Learner(config,lock)
|
|
|
|
if 'folders' in config :
|
|
|
|
if 'folders' not in config :
|
|
|
|
ThreadManager.Pool['file-watch'] = FileWatchWorker(config,lock)
|
|
|
|
ThreadManager.Pool['file-watch'] = FileWatchWorker(config,lock)
|
|
|
|
for id in ThreadManager.Pool :
|
|
|
|
for id in ThreadManager.Pool :
|
|
|
|
thread = ThreadManager.Pool[id]
|
|
|
|
thread = ThreadManager.Pool[id]
|
|
|
|