sneed
This commit is contained in:
parent
4d7928efc4
commit
51a3fec057
1 changed files with 0 additions and 1 deletions
|
@ -968,7 +968,6 @@ def admin_distinguish_comment(c_id, v):
|
||||||
@app.route("/admin/dump_cache", methods=["GET"])
|
@app.route("/admin/dump_cache", methods=["GET"])
|
||||||
@admin_level_required(6)
|
@admin_level_required(6)
|
||||||
def admin_dump_cache(v):
|
def admin_dump_cache(v):
|
||||||
cache.delete_memoized(leaderboard)
|
|
||||||
cache.clear()
|
cache.clear()
|
||||||
return jsonify({"message": "Internal cache cleared."})
|
return jsonify({"message": "Internal cache cleared."})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue