# -*- coding:utf-8 -*-
# artemis local settings template
CACHES = {
    'default': {
        'BACKEND': 'django_redis.cache.RedisCache',
        'LOCATION': 'redis://192.168.168.142:3',
        'TIMEOUT': 86400,  # 3600 x 24
    },
}

BROKER_URL = 'redis://192.168.168.142/8'

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',  # 设置为mysql数据库
        'NAME': 'artemis_hotfix2',  # zhengxing_test zhengxing_dev4hera  zhengxing_dev
        'USER': 'work',
        'PASSWORD': 'Gengmei1',
        'HOST': 'rm-2ze0v6uua2hl9he8e.mysql.rds.aliyuncs.com',
        'PORT': '3306',
        'OPTIONS': {
            "init_command": "SET foreign_key_checks = 0;",
            "charset": "utf8mb4",  # 为了支持emoji表情
        },
    },
}
DEBUG = True
SENTRY_CELERY_ENDPOINT = ''
