T111300: Convert reflinks to requests regressed performance slightly, as the previous code would only request ~1Mb. This fetch limit should be re-added to reflinks.
Description
Details
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| Make reflinks only fetch 1 Mb of each linked document | pywikibot/core | master | +15 -2 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | Xqt | T68102 use one library for all http requests | |||
| Resolved | MtDu | T111300 Convert reflinks to requests | |||
| Open | None | T124138 reflinks should fetch only 1Mb of each linked document |
Event Timeline
Change 265769 had a related patch set uploaded (by MtDu):
Make reflinks only fetch 1 Mb of each linked document
@jayvdb
Thanks for reviewing the panoramiopicker patch. I recently uploaded a new patch here. Could you please give some insight?
Thanks,
MtDu
sorry I missed this; could you rebase the patch and submit to travis so we can see if it doesnt break anything (reflinks has good tests, so that is sufficient to verify nothing is broken). Then make sure that one of the tests tries to fetch a 2 Mb PDF, and emit a warning to indicate that the document was trimmed.
Change #265769 abandoned by JJMC89:
[pywikibot/core@master] Make reflinks only fetch 1 Mb of each linked document
Reason:
stale patch that cannot be merged - feel free to unabandon if you will update it