Made the concurrent ocr code more granular, per node, every node can handle different amounts of concurrent ocr tasks
This commit is contained in:
@@ -78,9 +78,9 @@ def check_settings(request):
|
||||
# OCR
|
||||
{'name':'OCR_TESSERACT_PATH', 'value':ocr_settings.TESSERACT_PATH, 'exists':True},
|
||||
{'name':'OCR_TESSERACT_LANGUAGE', 'value':ocr_settings.TESSERACT_LANGUAGE},
|
||||
{'name':'OCR_MAX_CONCURRENT_EXECUTION', 'value':ocr_settings.MAX_CONCURRENT_EXECUTION},
|
||||
|
||||
|
||||
{'name':'OCR_NODE_CONCURRENT_EXECUTION', 'value':ocr_settings.NODE_CONCURRENT_EXECUTION},
|
||||
{'name':'OCR_REPLICATION_DELAY', 'value':ocr_settings.REPLICATION_DELAY},
|
||||
|
||||
# Search
|
||||
{'name':'SEARCH_LIMIT', 'value':search_settings.LIMIT},
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user