rust/hg-core/src/utils.rs
branchstable
changeset 52186 e6a44bc91bc2
parent 51151 aba622c7dc7e
child 52280 f4aede0f01af
equal deleted inserted replaced
52185:e698e3e75420 52186:e6a44bc91bc2
   540 }
   540 }
   541 
   541 
   542 /// Force the global rayon threadpool to not exceed 16 concurrent threads
   542 /// Force the global rayon threadpool to not exceed 16 concurrent threads
   543 /// unless the user has specified a value.
   543 /// unless the user has specified a value.
   544 /// This is a stop-gap measure until we figure out why using more than 16
   544 /// This is a stop-gap measure until we figure out why using more than 16
   545 /// threads makes `status` slower for each additional thread.
   545 /// threads makes `status` and `update` slower for each additional thread.
   546 ///
   546 ///
   547 /// TODO find the underlying cause and fix it, then remove this.
   547 /// TODO find the underlying cause and fix it, then remove this.
   548 ///
   548 ///
   549 /// # Errors
   549 /// # Errors
   550 ///
   550 ///