<commit_before>Capistrano::Configuration.instance(:must_exist).load do
  after  'deploy:restart', 'resque_workers:restart'

  namespace :resque_workers do
    desc 'restart resque workers'
    task :restart, :roles=> :god do
      puts "\n\n### RESTART RESQUE WORKERS!: Telling god to restart our resque workers.\n\n"
      run "sudo -u #{sudo_user} #{ruby_bin_dir}/ruby #{ruby_bin_dir}/god restart #{application}-resque; exit 0"
    end
  end
end<commit_msg>god restart application-resque is not restarting workers... count of active ones goes up every time - reverting to old way<commit_after>Capistrano::Configuration.instance(:must_exist).load do
  after  'deploy:restart', 'resque_workers:restart'

  namespace :resque_workers do
    desc 'restart resque workers'
    task :restart, :roles=> :god do
      puts "\n\n### RESTART RESQUE WORKERS!: Killing the resque workers, God will resurrect them.\n\n"
      run "sudo #{deploy_to}/config/god/kill_resque_workers.sh; exit 0"
    end
  end
end
{'fraction_non_alphanumeric': 0.11133400200601805, 'fraction_numerical': 0.0020060180541624875, 'mean_word_length': 4.28042328042328, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2134482', 'n_tokens_mistral': 332, 'n_tokens_neox': 319, 'n_words': 97}