Fix count caching
This commit is contained in:
parent
f7bd755f33
commit
39e547c303
1 changed files with 0 additions and 1 deletions
|
@ -48,7 +48,6 @@ def query_comments(request):
|
|||
@cached(ttl=300, serializer=JsonSerializer())
|
||||
async def get_cached_comments_count(request):
|
||||
try:
|
||||
print('GET COUNT FROM DB')
|
||||
token = request.args.get('token', '')
|
||||
url = request.args.get('url', '')
|
||||
count = Comment.select(Comment).join(Site).where(
|
||||
|
|
Loading…
Add table
Reference in a new issue