diff --git a/src/Foundatio/Messaging/SharedMessageBusOptions.cs b/src/Foundatio/Messaging/SharedMessageBusOptions.cs index bff81ed39..b7146a1a6 100644 --- a/src/Foundatio/Messaging/SharedMessageBusOptions.cs +++ b/src/Foundatio/Messaging/SharedMessageBusOptions.cs @@ -8,15 +8,6 @@ public class SharedMessageBusOptions : SharedOptions { /// public string Topic { get; set; } = "messages"; - /// - /// Controls the maximum number of backplane messages that need to be queued and sent to subscribers. - /// - public int TaskQueueMaxItems { get; set; } = 10000; - /// - /// Controls the maximum number of threads that will process queued subscriber messages. - /// - public byte TaskQueueMaxDegreeOfParallelism { get; set; } = 4; - /// /// Controls which types messages are mapped to. /// @@ -33,16 +24,6 @@ public TBuilder Topic(string topic) { return (TBuilder)this; } - public TBuilder TaskQueueMaxItems(int maxItems) { - Target.TaskQueueMaxItems = maxItems; - return (TBuilder)this; - } - - public TBuilder TaskQueueMaxDegreeOfParallelism(byte maxDegree) { - Target.TaskQueueMaxDegreeOfParallelism = maxDegree; - return (TBuilder)this; - } - public TBuilder MapMessageType(string name) { if (Target.MessageTypeMappings == null) Target.MessageTypeMappings = new Dictionary();