fix(General): fix for cm-dev deployment
Build and Publish Docker Image / build-and-push (push) Waiting to run
Unit test coverage / pytest (push) Failing after 1m32s
/ build-and-push (push) Successful in 1m35s

This commit is contained in:
2025-07-08 18:38:40 +08:00
parent fde6f17b58
commit 771154facd
5 changed files with 13 additions and 12 deletions
+2 -8
View File
@@ -125,10 +125,7 @@ class DataMessageHandler:
"""
# Increment the counter for parallel executions and check resource availability
self.backpressure_handler.increase_parallel_executions()
await self.backpressure_handler.check_resource_availability(
self.backpressure_handler.current_parallel_executions,
self.backpressure_handler.parallel_workers,
)
await self.backpressure_handler.check_overload_condition()
logging_info(
f"PARALLEL: Current Capacity [{self.backpressure_handler.current_parallel_executions}] of [{self.backpressure_handler.parallel_workers}]"
)
@@ -159,10 +156,7 @@ class DataMessageHandler:
logging_error(f"Request handler: {e}")
self.backpressure_handler.decrease_parallel_executions()
await self.backpressure_handler.check_resource_availability(
self.backpressure_handler.current_parallel_executions,
self.backpressure_handler.parallel_workers,
)
await self.backpressure_handler.check_overload_condition()
async def reconstitute_data_message(
self, message: AbstractIncomingMessage