<commit_before># -*- coding: UTF-8 -*-
#
# Cookbook Name:: valhalla
# Recipe:: serve
#

# restart the service if all is well
runit_service 'tyr-service' do
  action          :enable
  log             true
  default_logger  true
  sv_timeout      60

  subscribes :restart, "template[#{node[:valhalla][:conf_dir]}/#{node[:valhalla][:config]}]", :delayed
  node[:valhalla][:github][:repos].each do |repo|
    subscribes :restart, "git[#{node[:valhalla][:src_dir]}/#{repo}]", :delayed
  end
end<commit_msg>serving subscribes to the writing of tiles<commit_after># -*- coding: UTF-8 -*-
#
# Cookbook Name:: valhalla
# Recipe:: serve
#

# restart the service if all is well
runit_service 'tyr-service' do
  action          :enable
  log             true
  default_logger  true
  sv_timeout      60

  subscribes :restart, "tile[#{node[:valhalla][:data][:file]}]", :delayed
  subscribes :restart, "template[#{node[:valhalla][:conf_dir]}/#{node[:valhalla][:config]}]", :delayed
  node[:valhalla][:github][:repos].each do |repo|
    subscribes :restart, "git[#{node[:valhalla][:src_dir]}/#{repo}]", :delayed
  end
end
{'fraction_non_alphanumeric': 0.17132551848512173, 'fraction_numerical': 0.005410279531109108, 'mean_word_length': 4.162790697674419, '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': '5748079', 'n_tokens_mistral': 401, 'n_tokens_neox': 402, 'n_words': 87}