Fixed TTL
This commit is contained in:
@@ -78,6 +78,8 @@ async def fetch_cursor(
|
|||||||
|
|
||||||
if cached_cursor.done:
|
if cached_cursor.done:
|
||||||
mysql.cached_cursors.pop(cursor_id, None)
|
mysql.cached_cursors.pop(cursor_id, None)
|
||||||
|
else:
|
||||||
|
cached_cursor.upgrade_close_at()
|
||||||
|
|
||||||
return SelectResult(
|
return SelectResult(
|
||||||
cursor=cached_cursor,
|
cursor=cached_cursor,
|
||||||
|
|||||||
Reference in New Issue
Block a user