<commit_before>#!/bin/bash
for ((i=1; i<=$CELERY_MULTI_WORKERS; i++))
do
  COMMAND="celery worker -n core-celeryworker${i} --loglevel=info --config=celeryconfig --events --concurrency=$CELERY_CONCURRENCY"
  echo $COMMAND
  $COMMAND&
done
trap "kill 0" SIGINT SIGTERM EXIT
wait<commit_msg>allow to scale to more dynos by including dyno number in worker name<commit_after>#!/bin/bash
for ((i=1; i<=$CELERY_MULTI_WORKERS; i++))
do
  COMMAND="celery worker -n core-celeryworker:$DYNO:${i} --loglevel=info --config=celeryconfig --events --concurrency=$CELERY_CONCURRENCY"
  echo $COMMAND
  $COMMAND&
done
trap "kill 0" SIGINT SIGTERM EXIT
wait
{'fraction_non_alphanumeric': 0.1426332288401254, 'fraction_numerical': 0.006269592476489028, 'mean_word_length': 5.587628865979381, 'pattern_counts': {'":': 0, '<': 5, '<?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': '181005', 'n_tokens_mistral': 251, 'n_tokens_neox': 244, 'n_words': 61}