Skip to content

Commit

Permalink
Switch to MassTransit for distributed caching
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sfmskywalker committed Nov 1, 2024
1 parent 9ecbb3f commit e0135c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/apps/Elsa.Server.Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
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);
Expand Down

0 comments on commit e0135c9

Please sign in to comment.