<commit_before>  group 'delayed-jobs' do
    chain grace: 10.seconds

    start_timeout 20.seconds
    stop_timeout 20.seconds
    restart_timeout 20.seconds

    workers_count = '<%= fetch(:delayed_job_workers || 1) %>'.to_i

    (0 ... workers_count.to_i).each do |i|

    process "worker-#{i}" do

      count_suffix = workers_count > 1 ? ".#{i}" : ''

      pid_file "tmp/pids/delayed_job#{count_suffix}.pid"
      start_command "<%= options[:start_command] %>"
      stop_command "<%= options[:stop_command] %>"
    end

    end

  end
<commit_msg>fix(eye): delayed jobs with 1 worker failed to start<commit_after>  group 'delayed-jobs' do
    chain grace: 10.seconds

    start_timeout 20.seconds
    stop_timeout 20.seconds
    restart_timeout 20.seconds

    workers_count = '<%= fetch(:delayed_job_workers || 1) %>'.to_i

    (0 ... workers_count.to_i).each do |i|

    process "worker-#{i}" do
      pid_file "tmp/pids/delayed_job.#{i}.pid"
      start_command "<%= options[:start_command] %>"
      stop_command "<%= options[:stop_command] %>"
    end

    end

  end

{'fraction_non_alphanumeric': 0.14087117701575533, 'fraction_numerical': 0.020389249304911955, 'mean_word_length': 3.0601503759398496, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '407730', 'n_tokens_mistral': 402, 'n_tokens_neox': 361, 'n_words': 78}