<commit_before>begin
  Capistrano::Configuration.instance.load do
    after "deploy:setup", "resque:setup"
    after "deploy:restart", "resque:restart"
  end
rescue 
end<commit_msg>restart resque if resque_worker role exists<commit_after>begin
  Capistrano::Configuration.instance.load do
    after "deploy:setup", "resque:setup"
    unless find_servers(roles: :resque_worker).empty?
      after "deploy:restart", "resque:restart"
    end
  end
rescue 
end
{'fraction_non_alphanumeric': 0.10526315789473684, 'fraction_numerical': 0.0, 'mean_word_length': 5.260273972602739, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5696544', 'n_tokens_mistral': 156, 'n_tokens_neox': 152, 'n_words': 32}