diff --git a/app/config.go b/app/config.go index 32b556f..4c73358 100644 --- a/app/config.go +++ b/app/config.go @@ -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) diff --git a/initialrenderer/job.go b/initialrenderer/job.go index 106315f..e789d9e 100644 --- a/initialrenderer/job.go +++ b/initialrenderer/job.go @@ -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) } diff --git a/tileupdate/job.go b/tileupdate/job.go index 1225e41..dae83d5 100644 --- a/tileupdate/job.go +++ b/tileupdate/job.go @@ -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) {