<commit_before>import os
import sys
#from kombu import Queue
basedir = os.path.abspath(os.path.dirname(__file__))


class Config(object):
    DEBUG = False
    TESTING = False
    PROPAGATE_EXCEPTIONS = True
    CSRF_ENABLED = True
    WTF_CSRF_ENABLED = True
    SECRET_KEY = os.environ.get(
        'SECURE_KEY', <KEY>')

    IP = os.environ.get('127.0.0.1')
    PORT = str(os.environ.get('PORT', 33507))
    PREFERRED_URL_SCHEME = 'https'
    REDIS_URL = os.environ['REDIS_URL']
    MAPBOX_GL_ACCESS_TOKEN = os.environ['MAPBOX_GL_ACCESS_TOKEN']
    MAPBOX_ACCESS_TOKEN = os.environ['MAPBOX_ACCESS_TOKEN']
    STRAVA_CLIENT_ID = os.environ['STRAVA_CLIENT_ID']
    STRAVA_CLIENT_SECRET = os.environ['STRAVA_CLIENT_SECRET']
    RUNKEEPER_CLIENT_ID = os.environ['RUNKEEPER_CLIENT_ID']
    RUNKEEPER_CLIENT_SECRET = os.environ['RUNKEEPER_CLIENT_SECRET']
    UPLOAD_FOLDER = 'uploads'
    SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']

    #CELERY
    # Enables error emails.
    #CELERY_SEND_TASK_ERROR_EMAILS = True
    BROKER_POOL_LIMIT=25 #Prevent each new celery connection from opening a new conn
    CELERY_ACCEPT_CONTENT = ['json', 'pickle']
    #CELERY_IGNORE_RESULT = True
    #CELERY_STORE_ERRORS_EVEN_IF_IGNORED = True
    CELERY_REDIS_MAX_CONNECTIONS = 19
    BROKER_POOL_LIMIT=0
    # Name and email addresses of recipients
    ADMINS = (
        ('test', '<EMAIL>')
    )
    # Email address used as sender (From field).<commit_msg>Signed-off-by: <NAME> <<EMAIL>><commit_after>import os
import sys
#from kombu import Queue
basedir = os.path.abspath(os.path.dirname(__file__))


class Config(object):
    DEBUG = False
    TESTING = False
    PROPAGATE_EXCEPTIONS = True
    CSRF_ENABLED = True
    WTF_CSRF_ENABLED = True
    SECRET_KEY = os.environ.get(
        'SECURE_KEY', <KEY>')

    IP = os.environ.get('127.0.0.1')
    PORT = str(os.environ.get('PORT', 33507))
    PREFERRED_URL_SCHEME = 'https'
    REDIS_URL = os.environ['REDIS_URL']
    MAPBOX_GL_ACCESS_TOKEN = os.environ['MAPBOX_GL_ACCESS_TOKEN']
    MAPBOX_ACCESS_TOKEN = os.environ['MAPBOX_ACCESS_TOKEN']
    STRAVA_CLIENT_ID = os.environ['STRAVA_CLIENT_ID']
    STRAVA_CLIENT_SECRET = os.environ['STRAVA_CLIENT_SECRET']
    RUNKEEPER_CLIENT_ID = os.environ['RUNKEEPER_CLIENT_ID']
    RUNKEEPER_CLIENT_SECRET = os.environ['RUNKEEPER_CLIENT_SECRET']
    UPLOAD_FOLDER = 'uploads'
    SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL']

    #CELERY
    # Enables error emails.
    #CELERY_SEND_TASK_ERROR_EMAILS = True
    BROKER_POOL_LIMIT=15 #Prevent each new celery connection from opening a new conn
    CELERY_ACCEPT_CONTENT = ['json', 'pickle']
    #CELERY_IGNORE_RESULT = True
    #CELERY_STORE_ERRORS_EVEN_IF_IGNORED = True
    CELERY_REDIS_MAX_CONNECTIONS = 19
    BROKER_POOL_LIMIT=0
    # Name and email addresses of recipients
    ADMINS = (
        ('test', '<EMAIL>')
    )
    # Email address used as sender (From field).
{'fraction_non_alphanumeric': 0.10171232876712329, 'fraction_numerical': 0.010958904109589041, 'mean_word_length': 3.993162393162393, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '1288307', 'n_tokens_mistral': 1158, 'n_tokens_neox': 1153, 'n_words': 189}