forked from Hay1tsme/artemis
caching is probably not needed and is counterproductive
This commit is contained in:
@ -7,7 +7,6 @@ from sqlalchemy.schema import ForeignKey
|
||||
from sqlalchemy.sql import func, select
|
||||
from sqlalchemy.types import JSON, BigInteger, Boolean, Integer, String
|
||||
|
||||
from core.data import cached
|
||||
from core.data.schema import BaseData, metadata
|
||||
|
||||
best_score: Table = Table(
|
||||
@ -314,7 +313,6 @@ class Mai2ScoreData(BaseData):
|
||||
return None
|
||||
return result.lastrowid
|
||||
|
||||
@cached(2)
|
||||
async def get_best_scores(
|
||||
self,
|
||||
user_id: int,
|
||||
|
Reference in New Issue
Block a user