<commit_before>#
# CKAN - Pylons configuration
#
# These are some of the configuration options available for your CKAN
# instance. Check the documentation in 'doc/configuration.rst' or at the
# following URL for a description of what they do and the full list of
# available options:
#
# http://docs.ckan.org/en/latest/maintaining/configuration.html
#
# The %(here)s variable will be replaced with the parent directory of this file
#

[DEFAULT]

# WARNING: *THIS SETTING MUST BE SET TO FALSE ON A PRODUCTION ENVIRONMENT*
debug = false

[server:main]
use = egg:gunicorn#main
bind = 127.0.0.1:3220
preload = true
errorlog = /var/log/ckan/app.err.log

[app:main]
use = egg:ckan
full_stack = true
cache_dir = /tmp/%(ckan.site_id)s/
beaker.session.key = ckan

beaker.session.secret = <%= @secret%>
app_instance_uuid = fdee5057-84ad-4b96-804a-d8c2dc027721

who.config_file = %(here)s/who.ini
who.log_level = warning
who.log_file = %(cache_dir)s/who_log.ini
who.secure = True

## Database Settings<commit_msg>Expire CKAN logins after 30 days<commit_after>#
# CKAN - Pylons configuration
#
# These are some of the configuration options available for your CKAN
# instance. Check the documentation in 'doc/configuration.rst' or at the
# following URL for a description of what they do and the full list of
# available options:
#
# http://docs.ckan.org/en/latest/maintaining/configuration.html
#
# The %(here)s variable will be replaced with the parent directory of this file
#

[DEFAULT]

# WARNING: *THIS SETTING MUST BE SET TO FALSE ON A PRODUCTION ENVIRONMENT*
debug = false

[server:main]
use = egg:gunicorn#main
bind = 127.0.0.1:3220
preload = true
errorlog = /var/log/ckan/app.err.log

[app:main]
use = egg:ckan
full_stack = true
cache_dir = /tmp/%(ckan.site_id)s/
beaker.session.key = ckan
# Expire login sessions after 30 days (shown in seconds)
beaker.session.cookie_expires = 2592000
beaker.session.secret = <%= @secret%>
app_instance_uuid = fdee5057-84ad-4b96-804a-d8c2dc027721

who.config_file = %(here)s/who.ini
who.log_level = warning
who.log_file = %(cache_dir)s/who_log.ini
who.secure = True

## Database Settings
{'fraction_non_alphanumeric': 0.10854176498348278, 'fraction_numerical': 0.03350637092968381, 'mean_word_length': 4.608465608465608, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1999065', 'n_tokens_mistral': 801, 'n_tokens_neox': 739, 'n_words': 217}