Merge remote-tracking branch 'origin/S03-轨迹中台优化项' into test
This commit is contained in:
commit
72c02cc104
@ -87,15 +87,13 @@ namespace SJZY.Track.Application
|
|||||||
configure.BasicQosOptions =
|
configure.BasicQosOptions =
|
||||||
new RabbitMQOptions.BasicQos(configuration.GetValue<ushort>("CAP:PrefetchCount"));
|
new RabbitMQOptions.BasicQos(configuration.GetValue<ushort>("CAP:PrefetchCount"));
|
||||||
});
|
});
|
||||||
|
// options.TopicNamePrefix = "v1";
|
||||||
options.FailedRetryInterval = configuration.GetValue<int>("CAP:FailedRetryInterval");
|
options.FailedRetryInterval = configuration.GetValue<int>("CAP:FailedRetryInterval");
|
||||||
options.FailedRetryCount = configuration.GetValue<int>("CAP:FailedRetryCount");
|
options.FailedRetryCount = configuration.GetValue<int>("CAP:FailedRetryCount");
|
||||||
options.UseDispatchingPerGroup = configuration.GetValue<bool>("CAP:UseDispatchingPerGroup");
|
options.UseDispatchingPerGroup = configuration.GetValue<bool>("CAP:UseDispatchingPerGroup");
|
||||||
options.ConsumerThreadCount = configuration.GetValue<int>("CAP:ConsumerThreadCount");
|
options.ConsumerThreadCount = configuration.GetValue<int>("CAP:ConsumerThreadCount");
|
||||||
|
options.SucceedMessageExpiredAfter = configuration.GetValue<int>("CAP:SucceedMessageExpiredAfter");
|
||||||
|
|
||||||
// options.TopicNamePrefix = "v1";
|
|
||||||
options.SucceedMessageExpiredAfter = 6 * 60 * 60;
|
|
||||||
options.FailedRetryInterval = 60;
|
|
||||||
options.FailedRetryCount = 3;
|
|
||||||
options.UseDashboard(dashboardOptions =>
|
options.UseDashboard(dashboardOptions =>
|
||||||
{
|
{
|
||||||
dashboardOptions.PathBase = System.Diagnostics.Debugger.IsAttached
|
dashboardOptions.PathBase = System.Diagnostics.Debugger.IsAttached
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user