Skip to content

Commit c327caa

Browse files
committed
Removed flush redis db after server start/restart
1 parent 1a0e262 commit c327caa

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

backend/PyMatcha/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@
162162

163163
redis = StrictRedis(host=REDIS_HOST, port=REDIS_PORT, decode_responses=True, db=2)
164164

165-
redis.flushdb()
166-
167165

168166
from PyMatcha.routes.api.user import user_bp
169167
from PyMatcha.routes.api.auth.email import auth_email_bp

0 commit comments

Comments
 (0)