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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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
1118

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
1119

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