feat/#63 - cleverswarm unidirectional command
Unit test coverage / pytest (push) Has been cancelled
/ build-and-push (push) Has been cancelled
Unit test coverage / pytest (pull_request) Failing after 1m51s

This commit is contained in:
Stanislav Hejny
2025-07-26 15:29:07 +01:00
parent 9491517696
commit 41fbe46129
12 changed files with 148 additions and 86 deletions
+3 -3
View File
@@ -151,13 +151,13 @@ class AMQService:
"""
route: Optional[AMQRoute] = self.router.find_route_by_service(service_name)
if route is not None:
message: DataMessage = self.data_message_factory.create_rpc_message(
m: DataMessage = self.data_message_factory.create_rpc_message(
fq_method_name=fq_method_name,
swarm_id=self.amq_configuration.amq_adapter.swarm_task_id,
**kwargs,
args=kwargs,
)
asyncio.run_coroutine_threadsafe(
self.amq_data_message_handler.send_command(route, message),
self.amq_data_message_handler.send_command(route, m),
loop=self.backpressure_handler.loop,
)
return True