<commit_before>RailsRoot = File.expand_path "#{File.dirname __FILE__}/.."
PidsDir = "#{RailsRoot}/tmp/pids"

ListenAddress = "127.0.0.1"
ListenPort = 50000
UnixListen = "tmp/unicorn.sock"
Backlog = 2048

Workers = 1
Timeout = 30

WorkerWarmUp = true
WorkerWarmUpTime = 4
WorkerWarmUpUrl = '/'

WorkerKillByRequests = 500..600
WorkerKillByMemory = 144..192

# FIXME: this makes the worker too big and activate Unicorn::WorkerKiller::Oom
WorkerOutOfBandGcFrequency = nil

WorkerListen = true
WorkerPidFile = true


working_directory RailsRoot

worker_processes Workers
timeout Timeout
<commit_msg>Increase timeout<commit_after>RailsRoot = File.expand_path "#{File.dirname __FILE__}/.."
PidsDir = "#{RailsRoot}/tmp/pids"

ListenAddress = "127.0.0.1"
ListenPort = 50000
UnixListen = "tmp/unicorn.sock"
Backlog = 2048

Workers = 1
Timeout = 20 * 60

WorkerWarmUp = true
WorkerWarmUpTime = 4
WorkerWarmUpUrl = '/'

WorkerKillByRequests = 500..600
WorkerKillByMemory = 144..192

# FIXME: this makes the worker too big and activate Unicorn::WorkerKiller::Oom
WorkerOutOfBandGcFrequency = nil

WorkerListen = true
WorkerPidFile = true


working_directory RailsRoot

worker_processes Workers
timeout Timeout

{'fraction_non_alphanumeric': 0.09766277128547579, 'fraction_numerical': 0.05342237061769616, 'mean_word_length': 5.310526315789474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1166480', 'n_tokens_mistral': 470, 'n_tokens_neox': 408, 'n_words': 100}