This repository has been archived by the owner on Oct 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Add item ID to the workqueue instead #165
Closed
Closed
Changes from 6 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
bc466a1
test
pingsutw ef6b4ff
test
pingsutw c396231
test
pingsutw 5a2399f
test
pingsutw bbce912
test
pingsutw b09b997
nit
pingsutw d3e61ed
nit
pingsutw 9910612
test
pingsutw 7b775a3
nit
pingsutw a923364
test
pingsutw 23967d5
test
pingsutw bfcb747
test
pingsutw 80d4cd8
test
pingsutw a3a8536
test
pingsutw 5ea45af
nit
pingsutw d4ae3ad
nit
pingsutw d612b68
nit
pingsutw 07e6f22
nit
pingsutw 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
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.
This assumes that batches only have one item... I don't think this is true in all usage of AutoRefresh cache... if it's, I would rather deprecate the whole batching mechanism...
This implementation won't work for any batches > 1 item.
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.
In flytepropeller, batches always only have one item.
flytestdlib/cache/auto_refresh.go
Lines 133 to 140 in 1285ff3
Will clean up the code.