-
Notifications
You must be signed in to change notification settings - Fork 257
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
fix: duplicate read proto #1741
Merged
tusharmath
merged 24 commits into
tailcallhq:main
from
Shylock-Hg:fix/duplicate-read-proto-2
Apr 18, 2024
Merged
Changes from 20 commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
38fabe3
Fix duplicate read by cache.
Shylock-Hg a84c6f3
Lint fix.
Shylock-Hg 6f28835
Remove RefCell.
Shylock-Hg 7bdfd60
Lint fix.
Shylock-Hg f0c7193
Add option to control cache.
Shylock-Hg 136c805
Lint fix.
Shylock-Hg a9f24cb
Lint fix.
Shylock-Hg 67eabde
Lint fix.
Shylock-Hg 8efe9c4
Use std::sync::Mutex.
Shylock-Hg 76d61dd
Clone ResourceReader directly.
Shylock-Hg 0811348
Temp commit.
Shylock-Hg a1dff86
Fix test.
Shylock-Hg 7a3f902
Lint fix.
Shylock-Hg 2134bd6
Merge branch 'fix/duplicate-read-proto-2' into fix/duplicate-read-pro…
Shylock-Hg 1db5a38
Add trait bound.
Shylock-Hg c011dd1
Lint fix.
Shylock-Hg 187ab41
Rename.
Shylock-Hg 202c544
Lint fix.
Shylock-Hg f465172
restructure readers
tusharmath 852c0e9
lint fixes
tusharmath da660a7
rename types
tusharmath 7ee194b
lint fixes
tusharmath 3a2d9f5
Update src/resource_reader.rs
tusharmath af2d812
drop reader implementation
tusharmath 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we changing the API here? I don't think it's required.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ProtoReader need to share ResourceReader to avoid duplicate reading.