We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3528432 commit d74d15eCopy full SHA for d74d15e
src/DotNetCore.CAP/CAP.Options.cs
@@ -21,6 +21,7 @@ public CapOptions()
21
FailedRetryInterval = 60;
22
FailedRetryCount = 50;
23
ConsumerThreadCount = 1;
24
+ ProducerThreadCount = 1;
25
Extensions = new List<ICapOptionsExtension>();
26
Version = "v1";
27
DefaultGroup = "cap.queue." + Assembly.GetEntryAssembly()?.GetName().Name.ToLower();
@@ -67,6 +68,12 @@ public CapOptions()
67
68
/// </summary>
69
public int ConsumerThreadCount { get; set; }
70
71
+ /// <summary>
72
+ /// The number of producer thread connections.
73
+ /// Default is 1
74
+ /// </summary>
75
+ public int ProducerThreadCount { get; set; }
76
+
77
/// <summary>
78
/// Registers an extension that will be executed when building services.
79
0 commit comments