1
0
forked from MTSR/mapserver

cpu# in config

This commit is contained in:
NatureFreshMilk 2019-01-23 16:29:14 +01:00
parent fb734c30f9
commit 86c63d84ba

View File

@ -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,
}