ref: 242d6b4e6b44a327ce56c5276d040555ef146d91
parent: 47c91a4ca2ac3db496b9d495757eda121b612bec
author: spf13 <[email protected]>
date: Fri Aug 29 21:15:20 EDT 2014
Adjusting the number of go routines to build the pages in to 4*GOMAXPROCS (from 2) for faster rendering.
--- a/hugolib/site.go
+++ b/hugolib/site.go
@@ -334,7 +334,7 @@
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)
}