chore: rename Multiplex into Reuse in the struct fields #4328
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.
Description
this pr renamed struct field from
Multiplex
toReuse
inStorageOption
andTaskManagerOption
.this is a small renaming in the inner implementation, the field name in the config is still not changed to keep backward compatibility.
Related Issue
Motivation and Context
the term "Multiplex" was a bit misleading in the context of this feature. the functionality actually deals with reusing underlying storage for tasks with the same ID, not multiplexing in the traditional networking sense (in IO or channels).
the term "Reuse" is kinda more accurately describes what the feature does: it enables the system to reuse cached data from completed peer tasks rather than re-downloading them. the existing code already uses the "reuse" term in the implementation, and this pr tries renaming the struct fields to align with the implementation.
Screenshots (if appropriate)
Types of changes
Checklist