This is an archive of the discontinued Mercurial Phabricator instance.

setdiscovery: remove unnecessary sample size limiting
ClosedPublic

Authored by martinvonz on Mar 4 2018, 11:58 AM.

Details

Summary

Both _takequicksample() and _takefullsample() already limit their
result to the request size, so there's no need to let the caller do
that again.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Mar 4 2018, 11:58 AM
indygreg accepted this revision.Mar 4 2018, 2:22 PM
This revision is now accepted and ready to land.Mar 4 2018, 2:22 PM
This revision was automatically updated to reflect the committed changes.