This commit is contained in:
yumoqing 2025-10-20 14:17:07 +08:00
parent 752686b3a9
commit 54c36d0014

View File

@ -57,7 +57,7 @@ where a.id = c.userid
if usercnt > self.max_cache_user:
arr = [ v for v in self.cups.values() ]
e = min(arr, key=lambda x: x["touch_time"])
del self.cups[e['userid']
del self.cups[e['userid']]
return cup
async def is_user_has_path_perm(self, userid, path):