/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit/Configuration/DependencyInjection/InboxCleanupServiceOptions.cs
35 строк
1003 B
Chris Patterson
Changed the InboxCleanupService and OutboxDeliveryService registrations and configuration order to work properly
06 сен 2025, 16:54
06 сен 2025, 16:54
89468e3
Код
Авторство
О чём код?
namespace MassTransit { using System; public class InboxCleanupServiceOptions { /// <summary> /// The amount of time a message remaining in the Inbox /// </summary> public TimeSpan DuplicateDetectionWindow { get; set; } = TimeSpan.FromMinutes(30); /// <summary> /// The maximum number of messages to load and remove at a time that meet the criteria /// </summary> public int QueryMessageLimit { get; set; } = 100; /// <summary> /// Database query timeout for loading/removing messages /// </summary> public TimeSpan QueryTimeout { get; set; } = TimeSpan.FromSeconds(30); /// <summary> /// Delay between each database sweep to cleanup the inbox /// </summary> public TimeSpan QueryDelay { get; set; } = TimeSpan.FromSeconds(10); } public class InboxCleanupServiceOptions<T> : InboxCleanupServiceOptions where T : class { } }