From e0135c94031356434033443c67f659dfd22e6565 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Fri, 1 Nov 2024 20:23:38 +0100 Subject: [PATCH] Switch to MassTransit for distributed caching Updated the distributed caching transport to use MassTransit instead of ProtoActor, aligning with our existing MassTransit broker. Additionally, disabled agent usage for consistency with the current configuration. These changes streamline our configuration and ensure uniformity in our transport mechanisms. --- src/apps/Elsa.Server.Web/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/Elsa.Server.Web/Program.cs b/src/apps/Elsa.Server.Web/Program.cs index 0ec35c509..b86702ea2 100644 --- a/src/apps/Elsa.Server.Web/Program.cs +++ b/src/apps/Elsa.Server.Web/Program.cs @@ -66,10 +66,10 @@ const bool useAzureServiceBus = false; const bool useReadOnlyMode = false; const bool useSignalR = false; // Disabled until Elsa Studio sends authenticated requests. const WorkflowRuntime workflowRuntime = WorkflowRuntime.ProtoActor; -const DistributedCachingTransport distributedCachingTransport = DistributedCachingTransport.ProtoActor; +const DistributedCachingTransport distributedCachingTransport = DistributedCachingTransport.MassTransit; const MassTransitBroker massTransitBroker = MassTransitBroker.Memory; const bool useMultitenancy = false; -const bool useAgents = true; +const bool useAgents = false; const bool useSecrets = true; var builder = WebApplication.CreateBuilder(args);