forked from MTSR/mapserver
mtime save order
This commit is contained in:
parent
bf764b1a34
commit
1b3e2054cf
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user