Adding Flask-Redis to the project.

[https://pypi.python.org/pypi/Flask-Redis/0.1.0](https://pypi.python.org/pypi/Flask-Redis/0.1.0)

Initial addition as we think about redis as cache.
This commit is contained in:
Martyn Inglis
2016-11-10 11:27:57 +00:00
parent 23cc37e2d1
commit eb94fe6c0a
6 changed files with 5 additions and 32 deletions

View File

@@ -133,8 +133,7 @@ class Config(object):
STATSD_PORT = 8125
REDIS_ENABLED = True
REDIS_HOST = "localhost"
REDIS_PORT = 6379
REDIS_URL = "redis://localhost:6379/0"
SENDING_NOTIFICATIONS_TIMEOUT_PERIOD = 259200