Chromium Code Reviews
DescriptionIsolate: Use generators instead of seekers
Have Isolate use generators to obtain io.ReadCloser instances instead of
reusing a single io.ReadCloser instance via Seek.
This greatly simplifies the code and ensures a clean division between
HTTP request data on retry. In the standard case, this will require one
additional file open per archival, but will demand far fewer
simultaneously-open file handles.
BUG=chromium:598754
TEST=None
Committed: https://github.com/luci/luci-go/commit/50fe3c609c97b5effbc76d816a439fd19ab620ec
Patch Set 1 #
Total comments: 12
Patch Set 2 : Tweaks from comments. #
Total comments: 2
Messages
Total messages: 19 (8 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||