Add DistributedCachingTransport enum
Introduced the DistributedCachingTransport enum to define caching transport options. Also cleaned up the code by removing an unnecessary using directive and a commented summary in the MassTransitBroker enum.
This commit is contained in:
parent
073598c748
commit
4d41cd743b
|
|
@ -0,0 +1,9 @@
|
|||
namespace Elsa.ServerAndStudio.Web.Enums;
|
||||
|
||||
/// Represents the transport options for distributed caching.
|
||||
public enum DistributedCachingTransport
|
||||
{
|
||||
None,
|
||||
Memory,
|
||||
MassTransit
|
||||
}
|
||||
|
|
@ -1,8 +1,6 @@
|
|||
namespace Elsa.ServerAndStudio.Web.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// Represents the type of messaging broker used in MassTransit.
|
||||
/// </summary>
|
||||
public enum MassTransitBroker
|
||||
{
|
||||
Memory,
|
||||
|
|
|
|||
|
|
@ -5,12 +5,11 @@ using Elsa.MassTransit.Options;
|
|||
using Elsa.Extensions;
|
||||
using Elsa.ServerAndStudio.Web.Extensions;
|
||||
using Elsa.MassTransit.Extensions;
|
||||
using Elsa.Server.Web;
|
||||
using Elsa.ServerAndStudio.Web.Enums;
|
||||
using Medallion.Threading.FileSystem;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Data.Sqlite;
|
||||
using Proto.Persistence.Sqlite;
|
||||
using MassTransitBroker = Elsa.ServerAndStudio.Web.Enums.MassTransitBroker;
|
||||
|
||||
const bool useMassTransit = true;
|
||||
const bool useProtoActor = false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue