Skip to content

Commit 0dae361

Browse files
uncommnted cache
1 parent 66c76af commit 0dae361

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def factory(config=DevelopmentConfig) -> Flask:
3131
'CACHE_TYPE': 'RedisCache',
3232
'CACHE_REDIS_HOST': config.REDIS_HOST,
3333
}
34-
# Enable to use Redis as cache backend
35-
# cache.init_app(app, config=cache_config)
34+
cache.init_app(app, config=cache_config)
3635

3736
# initialize mail
3837
mail.init_app(app)

0 commit comments

Comments
 (0)