forked from MTSR/mapserver
toggle settings
This commit is contained in:
parent
9031d1e213
commit
6598dbe8a9
@ -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)
|
||||
|
@ -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)
|
||||
}
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user