2 Commits
Author SHA1 Message Date
chylex 873d036895 Migrate event log to Akka.NET 2024-03-22 03:47:29 +01:00
chylex b32a9dba6b Migrate RPC message handling to Akka.NET 2024-03-22 03:47:29 +01:00
+1 -1
View File
@@ -58,7 +58,7 @@ try {
var agentServices = new AgentServices(agentInfo, folders, new AgentServiceConfiguration(maxConcurrentBackupCompressionTasks), new ControllerConnection(rpcSocket.Connection));
await agentServices.Initialize();
using var actorSystem = ActorSystemFactory.Create("Agent");
using var actorSystem = ActorSystemFactory.Create("Web");
var rpcMessageHandlerInit = new ControllerMessageHandlerActor.Init(rpcSocket.Connection, agentServices, shutdownCancellationTokenSource);
var rpcMessageHandlerActor = actorSystem.ActorOf(ControllerMessageHandlerActor.Factory(rpcMessageHandlerInit), "ControllerMessageHandler");