Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename and simplify DownloadSchedule options #54

Merged
merged 9 commits into from
Apr 30, 2018

Conversation

nmathewson
Copy link
Contributor

No description provided.

@coveralls
Copy link

coveralls commented Apr 18, 2018

Pull Request Test Coverage Report for Build 534

  • 25 of 28 (89.29%) changed or added relevant lines in 3 files are covered.
  • 15 unchanged lines in 3 files lost coverage.
  • Overall coverage decreased (-0.03%) to 58.794%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/or/confparse.c 8 11 72.73%
Files with Coverage Reduction New Missed Lines %
src/or/confparse.c 1 78.72%
src/or/circuitstats.c 2 78.69%
src/or/circuitmux_ewma.c 12 88.21%
Totals Coverage Status
Change from base Build 515: -0.03%
Covered Lines: 40355
Relevant Lines: 68638

💛 - Coveralls

This commit won't compile. It was made with the following perl
scripts:

s/smartlist_t \*(.*)DownloadSchedule;/int $1DownloadInitialDelay;/;
s/\b(\w*)DownloadSchedule\b/$1DownloadInitialDelay/;
This is done as follows:
  * Only one function (find_dl_schedule()) actually returned a
    smartlist. Now it returns an int.

  * The CSV_INTERVAL type has been altered to ignore everything
    after the first comma, and to store the value before the first
    comma in an int.
These will produce a warning, but still work fine.
These options are now ignored.
(We no longer need two separate functions here.)
@dgoulet-tor
Copy link
Contributor

The whole thing lgtm;

I'm just wondering though, we might want to change this to something that does NOT say "comma list" ?

        case CONFIG_TYPE_CSV_INTERVAL: type = "TimeIntervalCommaList"; break;

@tor-bot tor-bot merged commit 71d5032 into torproject:master Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants