forked from openstack-archive/swift3
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
IAM: Replace LRU cache with one that works
Previously, when we saved the same key multiple times in the cache (after expiration) and we overflowed the cache, a KeyError exception was raised. Also, if we overflowed the cache with many different keys, the overall cache size would only increase.
- Loading branch information
1 parent
a64be4e
commit 743942d
Showing
2 changed files
with
35 additions
and
3 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,4 +1,5 @@ | ||
swift>=2.13.0 | ||
functools32 | ||
lxml | ||
requests!=2.9.0,>=2.8.1 # Apache-2.0 | ||
six>=1.9.0 | ||
|
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