projects
/
lightning.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb96c23
)
Up load throttle to gomaxprocs.
author
Tom Clegg <tom@tomclegg.ca>
Thu, 17 Jun 2021 15:15:32 +0000
(11:15 -0400)
committer
Tom Clegg <tom@tomclegg.ca>
Thu, 17 Jun 2021 15:15:32 +0000
(11:15 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
tilelib.go
patch
|
blob
|
history
diff --git
a/tilelib.go
b/tilelib.go
index cc4e5c2a60dabb32b0e4afac9f0231f8bf67bea5..8b1933354fd88320df4d2c4e815eee589bb07512 100644
(file)
--- a/
tilelib.go
+++ b/
tilelib.go
@@
-251,7
+251,7
@@
func (tilelib *tileLibrary) LoadDir(ctx context.Context, path string, onLoadGeno
variantmap := map[tileLibRef]tileVariantID{}
errs := make(chan error, len(files))
log.Infof("LoadDir: read %d files", len(files))
- throttle := throttle{Max: runtime.GOMAXPROCS(0)
/2 + 1
}
+ throttle := throttle{Max: runtime.GOMAXPROCS(0)}
for _, path := range files {
path := path
go func() {