/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit/Configuration/ProgressBufferSettings.cs
27 строк
704 B
Chris Patterson
Tweaked configuration of progress buffer.
30 сен 2024, 17:31
30 сен 2024, 17:31
4f9c70a
Код
Авторство
О чём код?
namespace MassTransit; using System; /// <summary> /// Specifies the settings for the progress buffer, which defers updating the job progress until the /// thresholds (steps or duration) have been reached. /// </summary> public class ProgressBufferSettings { public ProgressBufferSettings() { UpdateLimit = 1000; TimeLimit = TimeSpan.FromSeconds(30); } /// <summary> /// The number of progress updates reported before the value is sent to the job saga /// </summary> public int UpdateLimit { get; set; } /// <summary> /// The time period after which the progress should be reported /// </summary> public TimeSpan TimeLimit { get; set; } }