1
0
forked from MTSR/mapserver

provide a default config for smaller setups (tested with 2 GB ram, peaks at 50%)

closes #96
This commit is contained in:
BuckarooBanzay 2023-10-11 17:42:03 +02:00
parent 28119bb1bf
commit 4583880a68

View File

@ -91,9 +91,9 @@ func ParseConfig(filename string) (*Config, error) {
}
mapblockaccessor := MapBlockAccessorConfig{
Expiretime: "15s",
Purgetime: "30s",
MaxItems: 500,
Expiretime: "10s",
Purgetime: "15s",
MaxItems: 50,
}
defaultoverlays := []string{
@ -119,9 +119,9 @@ func ParseConfig(filename string) (*Config, error) {
Webdev: false,
WebApi: &webapi,
Layers: layers,
RenderingFetchLimit: 10000,
RenderingFetchLimit: 500,
RenderingJobs: runtime.NumCPU(),
RenderingQueue: 100,
RenderingQueue: 10,
IncrementalRenderingTimer: "5s",
MapObjects: &mapobjs,
MapBlockAccessorCfg: &mapblockaccessor,