|
|
|
@ -230,10 +230,10 @@ SERVER_EMAIL = getattr(local_settings, 'SERVER_EMAIL', EMAIL_HOST_USER) |
|
|
|
|
|
|
|
# REDIS related settings |
|
|
|
REDIS_HOST = 'localhost' |
|
|
|
REDIS_PORT = '6379' |
|
|
|
BROKER_URL = 'redis://' + REDIS_HOST + ':' + REDIS_PORT + '/0' |
|
|
|
REDIS_PORT = 6379 |
|
|
|
BROKER_URL = 'redis://%s:%d/0' % (REDIS_HOST, REDIS_PORT) |
|
|
|
BROKER_TRANSPORT_OPTIONS = {'visibility_timeout': 3600} |
|
|
|
CELERY_RESULT_BACKEND = 'redis://' + REDIS_HOST + ':' + REDIS_PORT + '/0' |
|
|
|
CELERY_RESULT_BACKEND = 'redis://%s:%d/0' % (REDIS_HOST, REDIS_PORT) |
|
|
|
|
|
|
|
|
|
|
|
# public url for Viber Bot |
|
|
|
|