<commit_before>God.watch do |w|
  w.name   = "backburner-worker-1"
  w.dir    = '/path/to/app/dir'
  w.env = { 'PADRINO_ENV' => 'production', 'QUEUES' => 'newsletter-sender,push-message' }
  w.group    = 'backburner-workers'
  w.interval = 30.seconds
  w.start = "bundle exec rake -f Rakefile backburner:start"
  w.log   = "/var/log/god/backburner-worker-1.log"

  # restart if memory gets too high
  w.transition(:up, :restart) do |on|
    on.condition(:memory_usage) do |c|
      c.above = 50.megabytes
      c.times = 3
    end
  end

  # determine the state on startup<commit_msg>Update god example to fix rake task name<commit_after>God.watch do |w|
  w.name   = "backburner-worker-1"
  w.dir    = '/path/to/app/dir'
  w.env = { 'PADRINO_ENV' => 'production', 'QUEUES' => 'newsletter-sender,push-message' }
  w.group    = 'backburner-workers'
  w.interval = 30.seconds
  w.start = "bundle exec rake -f Rakefile backburner:work"
  w.log   = "/var/log/god/backburner-worker-1.log"

  # restart if memory gets too high
  w.transition(:up, :restart) do |on|
    on.condition(:memory_usage) do |c|
      c.above = 50.megabytes
      c.times = 3
    end
  end

  # determine the state on startup
{'fraction_non_alphanumeric': 0.1440536013400335, 'fraction_numerical': 0.011725293132328308, 'mean_word_length': 2.9309210526315788, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '456047', 'n_tokens_mistral': 473, 'n_tokens_neox': 450, 'n_words': 104}