<commit_before>namespace MassTransit.JobService
{
    using System;
    using System.Collections.Generic;
    using Components;
    using GreenPipes;
    using MassTransit.Configuration;


    public class JobServiceOptions :
        IOptions,
        ISpecification
    {
        string _jobAttemptSagaEndpointName;
        string _jobSagaEndpointName;
        string _jobTypeSagaEndpointName;

        public JobServiceOptions()
        {
            StatusCheckInterval = TimeSpan.FromMinutes(1);
            SlotWaitTime = TimeSpan.FromSeconds(30);
            StartJobTimeout = TimeSpan.FromMinutes(2);
            SlotRequestTimeout = TimeSpan.FromSeconds(10);
        }

        public string JobTypeSagaEndpointName
        {
            get => _jobTypeSagaEndpointName;
            set
            {
                _jobTypeSagaEndpointName = value;
                JobTypeSagaEndpointAddress = new Uri($"queue:{value}");
            }
        }

        public string JobStateSagaEndpointName
        {
            get => _jobSagaEndpointName;
            set
            {
                _jobSagaEndpointName = value;
                JobSagaEndpointAddress = new Uri($"queue:{value}");
            }
        }

        public string JobAttemptSagaEndpointName
        {
            get => _jobAttemptSagaEndpointName;
            set
            {<commit_msg>Default to no request timeout for state machines to avoid scheduler issues. Only use them if you are using Quartz/Hangfire.<commit_after>namespace MassTransit.JobService
{
    using System;
    using System.Collections.Generic;
    using Components;
    using GreenPipes;
    using MassTransit.Configuration;


    public class JobServiceOptions :
        IOptions,
        ISpecification
    {
        string _jobAttemptSagaEndpointName;
        string _jobSagaEndpointName;
        string _jobTypeSagaEndpointName;

        public JobServiceOptions()
        {
            StatusCheckInterval = TimeSpan.FromMinutes(1);
            SlotWaitTime = TimeSpan.FromSeconds(30);
            StartJobTimeout = TimeSpan.Zero;
            SlotRequestTimeout = TimeSpan.Zero;
        }

        public string JobTypeSagaEndpointName
        {
            get => _jobTypeSagaEndpointName;
            set
            {
                _jobTypeSagaEndpointName = value;
                JobTypeSagaEndpointAddress = new Uri($"queue:{value}");
            }
        }

        public string JobStateSagaEndpointName
        {
            get => _jobSagaEndpointName;
            set
            {
                _jobSagaEndpointName = value;
                JobSagaEndpointAddress = new Uri($"queue:{value}");
            }
        }

        public string JobAttemptSagaEndpointName
        {
            get => _jobAttemptSagaEndpointName;
            set
            {
{'fraction_non_alphanumeric': 0.06040268456375839, 'fraction_numerical': 0.0031790886612504416, 'mean_word_length': 1.7683284457478006, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6030657', 'n_tokens_mistral': 736, 'n_tokens_neox': 696, 'n_words': 141}