forked from langflow-ai/langflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: resolve potential deadlock in AsyncInMemoryCache (langflow-ai#4464)
* Fix potential lock misuse and deadlock in AsyncInMemoryCache. * Recover async lock handling logic. * Remove unused lock parameter in upsert. * Fix potential lock misuse and deadlock in AsyncInMemoryCache. * Recover async lock handling logic. * Remove unused lock parameter in upsert. * Add lock parameter to prevent errors. * Fix ARG002 rule error. * Lock passed to get and set method. --------- Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
- Loading branch information
1 parent
0ee9e35
commit 55502de
Showing
1 changed file
with
8 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters