refactor: replace threading with multiprocessing
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 10s
Build Worker Base and Application Images / build-base (push) Has been skipped
Build Worker Base and Application Images / build-docker (push) Successful in 2m52s
Build Worker Base and Application Images / deploy-stack (push) Successful in 8s

This commit is contained in:
ziesorx 2025-09-25 12:53:17 +07:00
parent e87ed4c056
commit bfab574058
6 changed files with 682 additions and 58 deletions

View file

@ -1,6 +1,10 @@
"""
Frame readers for RTSP streams and HTTP snapshots.
Optimized for 1280x720@6fps RTSP and 2560x1440 HTTP snapshots.
NOTE: This module provides threading-based readers for fallback compatibility.
For RTSP streams, the new multiprocessing implementation in process_manager.py
is preferred and used by default for better scalability and performance.
"""
import cv2
import logging