kopia lustrzana https://github.com/glidernet/ogn-python
Added Cache configuration to prevent errors
rodzic
daf2d81460
commit
cdc4460151
|
@ -2,6 +2,10 @@ SQLALCHEMY_DATABASE_URI = "postgresql://postgres@localhost:5432/ogn_test"
|
||||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||||
SQLALCHEMY_ECHO = True
|
SQLALCHEMY_ECHO = True
|
||||||
|
|
||||||
|
# Flask-Cache stuff
|
||||||
|
CACHE_TYPE = "simple"
|
||||||
|
CACHE_DEFAULT_TIMEOUT = 300
|
||||||
|
|
||||||
# Celery stuff
|
# Celery stuff
|
||||||
CELERY_BROKER_URL = "redis://localhost:6379/0"
|
CELERY_BROKER_URL = "redis://localhost:6379/0"
|
||||||
CELERY_RESULT_BACKEND = "redis://localhost:6379/0"
|
CELERY_RESULT_BACKEND = "redis://localhost:6379/0"
|
||||||
|
|
Ładowanie…
Reference in New Issue