Spaces:
Running
Running
ksvmuralidhar
commited on
Commit
•
7fbebb7
1
Parent(s):
a8dea8a
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ app = Flask(__name__)
|
|
18 |
CORS(app)
|
19 |
redis_client = redis.Redis(host='localhost', port=6379, decode_responses=True)
|
20 |
logging.basicConfig(format='%(asctime)s %(message)s')
|
21 |
-
logging.warning(f'
|
22 |
db = DBOperations()
|
23 |
session_id = None
|
24 |
|
|
|
18 |
CORS(app)
|
19 |
redis_client = redis.Redis(host='localhost', port=6379, decode_responses=True)
|
20 |
logging.basicConfig(format='%(asctime)s %(message)s')
|
21 |
+
logging.warning(f'Is Redis available?: {redis_client.ping()}')
|
22 |
db = DBOperations()
|
23 |
session_id = None
|
24 |
|