/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/Exceptions/JobServiceStoppingException.cs
27 строк
607 B
Chris Patterson
Fixed a race condition in the job service where a job could be started while the job service is stopping, producing a fault that retries the job on another instance when available.
22 апр 2025, 18:11
22 апр 2025, 18:11
0fbca78
Код
Авторство
О чём код?
namespace MassTransit; using System; using System.Runtime.Serialization; [Serializable] public class JobServiceStoppingException : MassTransitException { public JobServiceStoppingException() { } public JobServiceStoppingException(Guid jobId) : base($"The job service is stopping, job cannot be started: {jobId}") { } #if NET8_0_OR_GREATER [Obsolete("Formatter-based serialization is obsolete and should not be used.")] #endif protected JobServiceStoppingException(SerializationInfo info, StreamingContext context) : base(info, context) { } }