1
0
forked from MTSR/mapserver

mtime save order

This commit is contained in:
Thomas Rudin 2019-01-27 18:54:09 +01:00
parent bf764b1a34
commit 1b3e2054cf

View File

@ -26,14 +26,14 @@ func incrementalRender(ctx *app.App, jobs chan *coords.TileCoords) {
panic(err)
}
rstate.LastMtime = result.LastMtime
ctx.Config.Save()
if len(result.List) == 0 {
if len(result.List) == 0 && !result.HasMore {
time.Sleep(5 * time.Second)
continue
}
rstate.LastMtime = result.LastMtime
ctx.Config.Save()
tiles := renderMapblocks(ctx, jobs, result.List)
t := time.Now()