Skip to content
Commits on Source (1)
......@@ -152,6 +152,7 @@ def redis_cache( ttl = 3600 ):
@app.route( baseurl + '/ping' )
def ping():
if not config.db.check():
config.db.connect()
return abort( 500 )
else:
return "pong"
......