<commit_before>[uwsgi]
uid = ideascube
gid = ideascube
# Django-related settings
# the base directory (full path)
chdir           = /usr/share/python/ideascube/local/lib/python2.7/site-packages/ideascube/
# Django's wsgi file
module          = ideascube.wsgi
# the virtualenv (full path)
home            = /usr/share/python/ideascube/

# Load defaults content as env value.
# See http://uwsgi-docs.readthedocs.org/en/latest/ConfigLogic.html
# and http://uwsgi-docs.readthedocs.org/en/latest/ParsingOrder.html
if-file = /etc/default/ideascube
env = @(%(_))
endif = 

# process-related settings
# master
master          = true
# maximum number of worker processes
processes       = 4
# the socket (use the full path to be safe
socket          = /tmp/ideascube.sock
# ... with appropriate permissions - may be needed
chmod-socket    = 666
# stats           = /tmp/ideascube.stats.sock
# clear environment on exit
vacuum          = true
plugins         = python<commit_msg>Allow to load env vars in uwsgi from /etc/default/ideascube<commit_after>[uwsgi]
uid = ideascube
gid = ideascube
# Django-related settings
# the base directory (full path)
chdir           = /usr/share/python/ideascube/local/lib/python2.7/site-packages/ideascube/
# Django's wsgi file
module          = ideascube.wsgi
# the virtualenv (full path)
home            = /usr/share/python/ideascube/

# Load env vars from /etc/default.
# See http://uwsgi-docs.readthedocs.org/en/latest/ConfigLogic.html
# and http://uwsgi-docs.readthedocs.org/en/latest/ParsingOrder.html
# for-readline is uWsgi >= 2.01 only:
# http://uwsgi-docs.readthedocs.org/en/latest/Changelog-2.0.1.html
for-readline = /etc/default/ideascube
  env = %(_)
end-for =

# process-related settings
# master
master          = true
# maximum number of worker processes
processes       = 4
# the socket (use the full path to be safe
socket          = /tmp/ideascube.sock
# ... with appropriate permissions - may be needed
chmod-socket    = 666
# stats           = /tmp/ideascube.stats.sock
# clear environment on exit
vacuum          = true
plugins         = python
{'fraction_non_alphanumeric': 0.1095169775227164, 'fraction_numerical': 0.00860832137733142, 'mean_word_length': 2.8455882352941178, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '6783955', 'n_tokens_mistral': 708, 'n_tokens_neox': 674, 'n_words': 172}