refactor: half way to process per session
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
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 9s
All checks were successful
Build Worker Base and Application Images / check-base-changes (push) Successful in 7s
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 9s
This commit is contained in:
parent
2e5316ca01
commit
34d1982e9e
12 changed files with 2771 additions and 92 deletions
|
@ -58,10 +58,10 @@ class DetectionPipeline:
|
|||
# Pipeline configuration
|
||||
self.pipeline_config = pipeline_parser.pipeline_config
|
||||
|
||||
# SessionId to subscriptionIdentifier mapping
|
||||
# SessionId to subscriptionIdentifier mapping (ISOLATED per session process)
|
||||
self.session_to_subscription = {}
|
||||
|
||||
# SessionId to processing results mapping (for combining with license plate results)
|
||||
# SessionId to processing results mapping (ISOLATED per session process)
|
||||
self.session_processing_results = {}
|
||||
|
||||
# Statistics
|
||||
|
@ -72,7 +72,8 @@ class DetectionPipeline:
|
|||
'total_processing_time': 0.0
|
||||
}
|
||||
|
||||
logger.info("DetectionPipeline initialized")
|
||||
logger.info(f"DetectionPipeline initialized for model {model_id} with ISOLATED state (no shared mappings or cache)")
|
||||
logger.info(f"Pipeline instance ID: {id(self)} - unique per session process")
|
||||
|
||||
async def initialize(self) -> bool:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue