Page MenuHomePhabricator

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

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



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

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
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.

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.