Adjusting the number of go routines to build the pages in to 4*GOMAXPROCS (from 2...
authorspf13 <steve.francia@gmail.com>
Sat, 30 Aug 2014 05:15:20 +0000 (01:15 -0400)
committerspf13 <steve.francia@gmail.com>
Sat, 30 Aug 2014 05:15:20 +0000 (01:15 -0400)
hugolib/site.go

index c0e0bb0758a799495f46fea7701ec70e1a0ba517..104322bfc06b58f459e068eacfcc800943555946 100644 (file)
@@ -334,7 +334,7 @@ func (s *Site) CreatePages() error {
 
        wg := &sync.WaitGroup{}
 
-       for i := 0; i < procs*2; i++ {
+       for i := 0; i < procs*4; i++ {
                wg.Add(1)
                go pageRenderer(s, input, results, wg)
        }