This is an archive of the discontinued Mercurial Phabricator instance.

rust-threads: force Rayon to respect the worker count in config
ClosedPublic

Authored by Alphare on Nov 8 2019, 4:09 AM.

Details

Summary

As per the inline comment, this is a workaround because Rust code does not yet
know how to read config files.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Alphare created this revision.Nov 8 2019, 4:09 AM
martinvonz requested changes to this revision.Nov 8 2019, 8:40 AM
martinvonz added a subscriber: martinvonz.
martinvonz added inline comments.
mercurial/dirstate.py
1125

Is is the pycompat call needed? Same below.

This revision now requires changes to proceed.Nov 8 2019, 8:40 AM

You're right, it shouldn't

Alphare updated this revision to Diff 17749.Nov 8 2019, 9:15 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.
mharbison72 added inline comments.
mercurial/dirstate.py
1126

Isn't the default parameter usually omitted, and picked up from the registrar?