/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/Util/RequestRateAlgorithmOptions.cs
38 строк
1 KB
Chris Patterson
Fixed #5114 - Changed the request result limit for the EF Core Outbox Delivery service to scale up properly, Reworked the request rate algorithm to support delayed cancellation of in-flight requests.
20 апр 2024, 00:51
20 апр 2024, 00:51
53ac232
Код
Авторство
О чём код?
namespace MassTransit.Util { using System; public class RequestRateAlgorithmOptions { /// <summary> /// The number of messages to keep in the pipeline at any given time /// </summary> public int PrefetchCount { get; set; } = 1; /// <summary> /// The number of messages to dispatch concurrently /// </summary> public int? ConcurrentResultLimit { get; set; } = null; /// <summary> /// The maximum number of results that can be retrieved per request /// </summary> public int RequestResultLimit { get; set; } /// <summary> /// The maximum number of requests within the given request rate interval /// </summary> public int? RequestRateLimit { get; set; } /// <summary> /// The interval at which the request rate limit is reset /// </summary> public TimeSpan? RequestRateInterval { get; set; } /// <summary> /// If specified, provides additional time when a request is canceled to avoid interrupting in-progress requests /// </summary> public TimeSpan? RequestCancellationTimeout { get; set; } } }