Fix imports for sub move frontlist invalidation.

master
Snakes 2022-11-14 04:14:41 -05:00
parent 377c31371f
commit 4aedbc9b2e
Signed by: Snakes
GPG Key ID: E745A82778055C7E
2 changed files with 1 additions and 2 deletions

View File

@ -105,8 +105,6 @@ def sub_inactive_purge_task():
for x in dead_holes:
g.db.delete(x)
cache.delete_memoized(frontlist)
return True

View File

@ -6,6 +6,7 @@ from flask import g
from files.__main__ import app, limiter, cache
from os import path
from files.helpers.sanitize import filter_emojis_only
from files.routes.front import frontlist
@app.post("/report/post/<pid>")
@limiter.limit(DEFAULT_RATELIMIT_SLOWER)