Page MenuHomePhabricator

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

Authored by Alphare on Fri, Nov 8, 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.Fri, Nov 8, 4:09 AM
martinvonz requested changes to this revision.Fri, Nov 8, 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.Fri, Nov 8, 8:40 AM

You're right, it shouldn't

Alphare updated this revision to Diff 17749.Fri, Nov 8, 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.