<commit_before># config/puma.rb

# start server with:
# puma -C config/puma.rb

bind 'unix:///tmp/puma.sock'
threads 0, 16
workers 1
approot = '/var/www/railslist'
pidfile "#{approot}/shared/pids/puma.pid"
stdout_redirect "#{approot}/shared/log/puma.log", "#{approot}/shared/log/puma.err", true
environment 'production'
daemonize
#user "deploy", "deploy"

on_worker_boot do
  require "active_record"
  #cwd = File.dirname(__FILE__)+"/.."<commit_msg>puma: bind to TCP port instead of UNIX socket<commit_after># config/puma.rb

# start server with:
# puma -C config/puma.rb

# bind 'unix:///tmp/puma.sock'
bind 'tcp://127.0.0.1:49292'
threads 0, 16
workers 1
approot = '/var/www/railslist'
pidfile "#{approot}/shared/pids/puma.pid"
stdout_redirect "#{approot}/shared/log/puma.log", "#{approot}/shared/log/puma.err", true
environment 'production'
daemonize
#user "deploy", "deploy"

on_worker_boot do
  require "active_record"
  #cwd = File.dirname(__FILE__)+"/.."
{'fraction_non_alphanumeric': 0.1716961498439126, 'fraction_numerical': 0.019771071800208116, 'mean_word_length': 4.83030303030303, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 1, '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': '1623135', 'n_tokens_mistral': 390, 'n_tokens_neox': 370, 'n_words': 79}