mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-03 20:17:42 +03:00
Reduce inference timeout
This commit is contained in:
parent
f48e74e2ba
commit
02944673f1
@ -345,7 +345,7 @@ class HailoDetector(DetectionApi):
|
|||||||
request_id = self.input_store.put(tensor_input)
|
request_id = self.input_store.put(tensor_input)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
_, infer_results = self.response_store.get(request_id, timeout=10.0)
|
_, infer_results = self.response_store.get(request_id, timeout=1.0)
|
||||||
except TimeoutError:
|
except TimeoutError:
|
||||||
logger.error(
|
logger.error(
|
||||||
f"Timeout waiting for inference results for request {request_id}"
|
f"Timeout waiting for inference results for request {request_id}"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user