From c5ce511e8bd95ee5d448297d032d56a5e7d9f9c5 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Tue, 26 Nov 2024 21:21:26 +0100 Subject: [PATCH] Switch to Distributed runtime and MassTransit caching. Updated the workflow runtime to Distributed and the distributed caching transport to MassTransit for better scalability and performance. Also, disabled the use of secrets to enhance security and simplify configuration. --- src/apps/Elsa.Server.Web/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/apps/Elsa.Server.Web/Program.cs b/src/apps/Elsa.Server.Web/Program.cs index ecb451afd..6c80b6fce 100644 --- a/src/apps/Elsa.Server.Web/Program.cs +++ b/src/apps/Elsa.Server.Web/Program.cs @@ -68,12 +68,12 @@ const bool useAzureServiceBus = false; const bool useKafka = 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 WorkflowRuntime workflowRuntime = WorkflowRuntime.Distributed; +const DistributedCachingTransport distributedCachingTransport = DistributedCachingTransport.MassTransit; const MassTransitBroker massTransitBroker = MassTransitBroker.Memory; const bool useMultitenancy = false; const bool useAgents = false; -const bool useSecrets = true; +const bool useSecrets = false; const bool disableVariableWrappers = false; var builder = WebApplication.CreateBuilder(args);