1
0
forked from MTSR/mapserver

toggle settings

This commit is contained in:
Thomas Rudin 2019-01-22 21:13:16 +01:00
parent 9031d1e213
commit 6598dbe8a9
3 changed files with 4 additions and 3 deletions

View File

@ -98,7 +98,7 @@ func ParseConfig(filename string) (*Config, error) {
RenderState: &rstate,
Layers: layers,
InitialRenderingFetchLimit: 1000,
UpdateRenderingFetchLimit: 10000,
UpdateRenderingFetchLimit: 1000,
}
info, err := os.Stat(filename)

View File

@ -76,7 +76,7 @@ func Job(ctx *app.App) {
tilecount++
ctx.Objectdb.RemoveTile(tc)
_, err = ctx.Tilerenderer.Render(tc, 1)
_, err = ctx.Tilerenderer.Render(tc, 2)
if err != nil {
panic(err)
}

View File

@ -1,10 +1,11 @@
package tileupdate
import (
"github.com/sirupsen/logrus"
"mapserver/app"
"mapserver/coords"
"time"
"github.com/sirupsen/logrus"
)
func Job(ctx *app.App) {