Skip to content

Commit 4e8893e

Browse files
Add overflow lock for session management
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 8cc111b commit 4e8893e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/dataframe_manager.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
# SessionStoragePort merge-on-commit is the cross-instance safeguard (not CAS).
5454
_MAX_SESSION_LOCKS = 256
5555
_locks_guard = asyncio.Lock()
56+
_overflow_lock = asyncio.Lock()
5657
_session_locks: OrderedDict[tuple[str, str], asyncio.Lock] = OrderedDict()
5758
_overflow_lock: Optional[asyncio.Lock] = None
5859

0 commit comments

Comments
 (0)