From 66c7ee7a74eb7adf7c3d5c9d05d82b2dd63961f2 Mon Sep 17 00:00:00 2001 From: abdulhade Date: Thu, 25 Dec 2025 21:55:55 +0300 Subject: [PATCH] Fixed TTL --- app/operations.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/operations.py b/app/operations.py index 29a8f49..77548a7 100644 --- a/app/operations.py +++ b/app/operations.py @@ -78,6 +78,8 @@ async def fetch_cursor( if cached_cursor.done: mysql.cached_cursors.pop(cursor_id, None) + else: + cached_cursor.upgrade_close_at() return SelectResult( cursor=cached_cursor,