mirror of
https://github.com/evilhero/mylar
synced 2025-03-15 08:18:44 +00:00
FIX: Post-processing queue was not being initialized if the mylar API was not enabled
This commit is contained in:
parent
33c09924f6
commit
63dc7bf0ba
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue