FIX: Post-processing queue was not being initialized if the mylar API was not enabled

This commit is contained in:
evilhero 2019-02-11 11:21:16 -05:00
parent 33c09924f6
commit 63dc7bf0ba
1 changed files with 1 additions and 1 deletions

View File

@ -397,7 +397,7 @@ def start():
SEARCHPOOL = threading.Thread(target=helpers.search_queue, args=(SEARCH_QUEUE,), name="SEARCH-QUEUE")
SEARCHPOOL.start()
if all([CONFIG.POST_PROCESSING is True, CONFIG.API_ENABLED is True]):
if CONFIG.POST_PROCESSING is True:
logger.info('[POST-PROCESS-QUEUE] Post Process queue enabled & monitoring for api requests....')
PPPOOL = threading.Thread(target=helpers.postprocess_main, args=(PP_QUEUE,), name="POST-PROCESS-QUEUE")
PPPOOL.start()