<commit_before># TODO: this should actually read Rails.env.production?
# this needs to be set up such that it can deploy on city server and Heroku equally smoothly
if false 
  directory "/var/www/bizport/current"
  environment 'production'
  workers 1
  threads 1, 8

  bind 'tcp://0.0.0.0:9951'
  pidfile "/var/www/bizport/current/tmp/puma/pid"
  state_path "/var/www/bizport/current/tmp/puma/state"

  preload_app!
  activate_control_app
end<commit_msg>Puma worker update for increased traffic capacity (probably)<commit_after># TODO: this should actually read Rails.env.production?
# this needs to be set up such that it can deploy on city server and Heroku equally smoothly
if false 
  directory "/var/www/bizport/current"
  environment 'production'
  workers 2
  threads 1, 8

  bind 'tcp://0.0.0.0:9951'
  pidfile "/var/www/bizport/current/tmp/puma/pid"
  state_path "/var/www/bizport/current/tmp/puma/state"

  preload_app!
  activate_control_app
end
{'fraction_non_alphanumeric': 0.09822361546499478, 'fraction_numerical': 0.022988505747126436, 'mean_word_length': 4.042105263157895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 2, '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': '2430834', 'n_tokens_mistral': 336, 'n_tokens_neox': 309, 'n_words': 96}