forked from MTSR/mapserver
cpu# in config
This commit is contained in:
parent
fb734c30f9
commit
86c63d84ba
@ -7,6 +7,7 @@ import (
|
||||
"mapserver/layer"
|
||||
"os"
|
||||
"sync"
|
||||
"runtime"
|
||||
)
|
||||
|
||||
type Config struct {
|
||||
@ -101,8 +102,8 @@ func ParseConfig(filename string) (*Config, error) {
|
||||
RenderState: &rstate,
|
||||
Layers: layers,
|
||||
InitialRenderingFetchLimit: 1000,
|
||||
InitialRenderingJobs: 1,
|
||||
InitialRenderingQueue: 0,
|
||||
InitialRenderingJobs: runtime.NumCPU(),
|
||||
InitialRenderingQueue: 100,
|
||||
UpdateRenderingFetchLimit: 1000,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user