projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47c91a4
)
Adjusting the number of go routines to build the pages in to 4*GOMAXPROCS (from 2...
author
spf13
<steve.francia@gmail.com>
Sat, 30 Aug 2014 05:15:20 +0000
(
01:15
-0400)
committer
spf13
<steve.francia@gmail.com>
Sat, 30 Aug 2014 05:15:20 +0000
(
01:15
-0400)
hugolib/site.go
patch
|
blob
|
history
diff --git
a/hugolib/site.go
b/hugolib/site.go
index c0e0bb0758a799495f46fea7701ec70e1a0ba517..104322bfc06b58f459e068eacfcc800943555946 100644
(file)
--- a/
hugolib/site.go
+++ b/
hugolib/site.go
@@
-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)
}