-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(AZURE): Refactor FalconCache to use thread-safe locks
This commit refactors the `FalconCache` class to use thread-safe locks when accessing the `_arc_config` dictionary. Previously, multiple threads could access the dictionary simultaneously, leading to potential race conditions and data corruption. - Add `_arc_config_lock` dictionary to store locks for each sensor ID - Use `with` statement to acquire and release lock when accessing `_arc_config` dictionary Fixes #160
- Loading branch information
1 parent
2751f3c
commit 066c31a
Showing
2 changed files
with
19 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
/venv | ||
/**venv | ||
*.pyc | ||
*.swp | ||
*.egg | ||
*.egg-info | ||
/config/devel.ini | ||
/runtest.sh | ||
/runtest.sh |
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