Perf questions MERGE READY

Good catch.

On Mon, Nov 10, 2014 at 3:16 AM, Paul Robinson <notifications@github.com>
wrote:

> In _ext/product.rb:
>
> > @@ -44,7 +45,8 @@ def execute(site)
> >            solutions = []
> >            site.products = {}
> >            forum_counts = Hash[JSON.load(@searchisko.search({facet:'per_project_counts', sys_type:'forumthread', size:1}).body)['facets']['per_project_counts']['terms'].map(&:values).map(&:flatten)]
> > -          site.pages.each do |page|
> > +          Parallel.each(site.pages, :in_threads => (site.build_threads || 0)) do |page|
> > +          #site.pages.each do |page|
>
> Does this commented code need to stay?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/jboss-developer/www.jboss.org/pull/636/files#r20074221>
> .
>



-- 
Jason Porter
http://en.gravatar.com/lightguardjp