Skip to content

Commit

Permalink
Remove TaskQueue options
Browse files Browse the repository at this point in the history
  • Loading branch information
ejsmith committed Apr 16, 2019
1 parent 2f7e855 commit fc16989
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/Foundatio/Messaging/SharedMessageBusOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,6 @@ public class SharedMessageBusOptions : SharedOptions {
/// </summary>
public string Topic { get; set; } = "messages";

/// <summary>
/// Controls the maximum number of backplane messages that need to be queued and sent to subscribers.
/// </summary>
public int TaskQueueMaxItems { get; set; } = 10000;
/// <summary>
/// Controls the maximum number of threads that will process queued subscriber messages.
/// </summary>
public byte TaskQueueMaxDegreeOfParallelism { get; set; } = 4;

/// <summary>
/// Controls which types messages are mapped to.
/// </summary>
Expand All @@ -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<T>(string name) {
if (Target.MessageTypeMappings == null)
Target.MessageTypeMappings = new Dictionary<string, Type>();
Expand Down

0 comments on commit fc16989

Please sign in to comment.