-
Notifications
You must be signed in to change notification settings - Fork 1.6k
refactor!: Rename StorageManager to StorageInstanceManager and use it to centralize storage instance caching #3584
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
cdcc9ff
refactor!: Make the StorageManager more like StorageInstanceManager f…
janbuchar 02c89b7
ServiceLocator.storageInstanceManager is class-level
janbuchar afc367c
Simplify StorageInstanceManager
janbuchar e6191c3
Fix type
janbuchar f8ae6d5
Fix cache eviction (See https://github.com/apify/crawlee-python/pull/…
janbuchar 72b58e9
Minor nits
janbuchar fe46682
Do not initialize RequestQueue repeatedly
janbuchar 481abe9
Handle missing storage client cache key better
janbuchar f1106f0
Clean up unused locks
janbuchar 4f69d63
Refactor to match crawlee-python better and avoid race conditions
janbuchar a238fb9
Improve JSDoc wording
janbuchar 5a78768
Improve interface of client creation methods
janbuchar 1ac08cf
Fix build
janbuchar 40ccbd5
Merge remote-tracking branch 'origin/v4' into refactor-storage-manager
janbuchar 6116429
Move StorageOpenOptions out of the storage instance manager file
janbuchar 7868f7d
Clean up the storage_instance_manager file
janbuchar 0b14900
Do not pass implicit configuration to storage frontend constructors
janbuchar 921dadd
Rename type variable
janbuchar 09cfd75
Do not check for cached storage subclient instances
janbuchar 673b586
Remove unnecessary ServiceLocator.clearStorageManagerCache
janbuchar ebac3ad
Correctly check for pre-existing storages
janbuchar 3cda48c
Hide ugly workarounds inside memory storage
janbuchar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.