-
Notifications
You must be signed in to change notification settings - Fork 1
Use file storage as cache backing store #12
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
Open
tsunyoku
wants to merge
26
commits into
ppy:main
Choose a base branch
from
tsunyoku:use-file-storage-as-backing-cache
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
1eef030
Use file storage as backing store for cache
tsunyoku d9bbf67
Fix incorrect indexes
tsunyoku 9072e74
Prevent Redis subscriber from swallowing exceptions
tsunyoku 3d9cee8
Handle `RedisChannel` warning
tsunyoku 6601ec9
Simplify `RedisDatabase` construction
tsunyoku 588c84f
Add new environment variables to README
tsunyoku 44da430
Remove unused cache dependency
tsunyoku de47020
Update tests
tsunyoku fd9a84c
Replace Redis solution with a caching folders per day
tsunyoku b60ab72
Fix test passing incorrect cache folder
tsunyoku 5b22ca1
Fix replay cache folder for non-legacy case in tests too
tsunyoku 232f9e5
Fix weird test method names
tsunyoku 5d6567b
Fix incorrect method call for cache directory
tsunyoku 686d63c
Create unique temp path for each test run
tsunyoku dd037c9
Fix cache lookup failing for replays cached prior to today
tsunyoku 18309f2
Add test cases for incorrect stream handling
tsunyoku a263bf7
Add try-catch and error logging for expiry worker
tsunyoku cdcde59
Split legacy ruleset replays into subfolders instead of format-based …
tsunyoku 4d3cf2e
Add xmldoc to explain cache folder structure
tsunyoku ebf806f
Move around test setup
tsunyoku b021ec7
Actually inspect stored replay
bdach 80b5764
Improve xmldoc
bdach e3d7edc
Use `yyyyMMdd` format for cache directory
tsunyoku af56486
Restructure cache for date to be the higher level folder
tsunyoku 2ed5846
Remove as much legacy specialities as possible
tsunyoku cb6429d
Fix binary types on legacy replay encoding
tsunyoku 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
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.
Check warning
Code scanning / InspectCode
Redundant empty argument list on object creation expression Warning test