summaryrefslogtreecommitdiff
path: root/lib/chef/chef_fs/parallelizer.rb
Commit message (Collapse)AuthorAgeFilesLines
* Convert require to require_relativeLamont Granquist2019-05-081-1/+1
| | | | | | | This gives a speed boost since rubygems does not have to scan through every gem in the gemset in order to find the file. Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix Style/HashSyntaxLamont Granquist2018-07-021-1/+1
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* fix specs: RedundantReturn, RedundantSelf, RedundantBeginLamont Granquist2017-02-131-11/+9
| | | | | | department of redundancy department Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* auto fixing some rubocopsLamont Granquist2016-02-091-1/+1
| | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* autofixing whitespace copsLamont Granquist2016-02-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* Use double quotes by defaultThom May2016-01-141-2/+2
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* Add many comments to DataHandler and FileSystem classesJohn Keiser2014-09-051-2/+0
|
* Add org.json, members.json, invitations.json for full org downloadJohn Keiser2014-09-051-0/+2
| | | | and upload support
* Fix tests on 1.8.7John Keiser2014-05-191-8/+11
|
* Make parallel enumerable safe to restartJohn Keiser2014-05-191-17/+22
|
* Make it possible to resize and gently stop the parallelizerJohn Keiser2014-05-181-9/+33
|
* Add ability to flatten parallel enumerableJohn Keiser2014-05-181-161/+6
|
* Add each_with_exceptions to allow all results to be knownJohn Keiser2014-05-171-56/+47
|
* Add :stop_on_exception to stop consuming input on exceptionJohn Keiser2014-05-171-44/+61
|
* Add parallel_do method for when you don't care about outputJohn Keiser2014-05-171-3/+16
|
* Add methods to receive asynchronous output from parallelizerJohn Keiser2014-05-171-71/+149
| | | | | | - make parallelizer less eager to process inputs on its thread except when unblocking, to leave it free to send outputs - allow parallelizer to start making headway with long-running inputs before the inputs are done - use ruby internal Queues to manage locking instead of mutexes
* Transmit ALL exceptions to the calling threadJohn Keiser2013-06-071-1/+1
|
* Parallelize diff, download and uploadJohn Keiser2013-06-071-9/+21
|
* Add --concurrency argument to set # of threadsJohn Keiser2013-06-071-1/+8
|
* Parallelize knife list and knife showJohn Keiser2013-06-071-0/+110