<commit_before>#!/bin/sh

cd <%= node['gitlab'][@options[:rails_app]]['dir'] %>/working

exec 2>&1
<%= render("mount_point_check.erb") %>
exec chpst -e /opt/gitlab/etc/<%= @options[:rails_app] %>/env -P \
  -U <%= @options[:user] %> -u <%= @options[:user] %> \
  /opt/gitlab/embedded/bin/bundle exec sidekiq \
    -q post_receive \
    -q mailer \
    -q system_hook \
    -q project_web_hook \
    -q gitlab_shell \
    -q common \
    -q default \
    -e <%= node['gitlab'][@options[:rails_app]]['environment'] %> \
    -r /opt/gitlab/embedded/service/<%= @options[:rails_app] %> \
    -t <%= @options[:shutdown_timeout] %><commit_msg>Add archive_repo sidekiq queue.<commit_after>#!/bin/sh

cd <%= node['gitlab'][@options[:rails_app]]['dir'] %>/working

exec 2>&1
<%= render("mount_point_check.erb") %>
exec chpst -e /opt/gitlab/etc/<%= @options[:rails_app] %>/env -P \
  -U <%= @options[:user] %> -u <%= @options[:user] %> \
  /opt/gitlab/embedded/bin/bundle exec sidekiq \
    -q post_receive \
    -q mailer \
    -q archive_repo \
    -q system_hook \
    -q project_web_hook \
    -q gitlab_shell \
    -q common \
    -q default \
    -e <%= node['gitlab'][@options[:rails_app]]['environment'] %> \
    -r /opt/gitlab/embedded/service/<%= @options[:rails_app] %> \
    -t <%= @options[:shutdown_timeout] %>
{'fraction_non_alphanumeric': 0.22146118721461186, 'fraction_numerical': 0.0030441400304414, 'mean_word_length': 3.0337423312883436, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 21, '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': '3402774', 'n_tokens_mistral': 551, 'n_tokens_neox': 495, 'n_words': 89}