forked from MTSR/mapserver
infos
This commit is contained in:
parent
7d52ee6507
commit
6697691a9d
@ -30,7 +30,7 @@ func incrementalRender(ctx *app.App, jobs chan *coords.TileCoords) {
|
||||
continue
|
||||
}
|
||||
|
||||
renderMapblocks(ctx, jobs, result.List)
|
||||
tiles := renderMapblocks(ctx, jobs, result.List)
|
||||
|
||||
rstate.LastMtime = result.LastMtime
|
||||
ctx.Config.Save()
|
||||
@ -39,8 +39,9 @@ func incrementalRender(ctx *app.App, jobs chan *coords.TileCoords) {
|
||||
elapsed := t.Sub(start)
|
||||
|
||||
fields := logrus.Fields{
|
||||
"count": len(result.List),
|
||||
"elapsed": elapsed,
|
||||
"mapblocks": len(result.List),
|
||||
"tiles": tiles,
|
||||
"elapsed": elapsed,
|
||||
}
|
||||
logrus.WithFields(fields).Info("incremental rendering")
|
||||
}
|
||||
|
@ -45,7 +45,7 @@ func initialRender(ctx *app.App, jobs chan *coords.TileCoords) {
|
||||
return
|
||||
}
|
||||
|
||||
renderMapblocks(ctx, jobs, result.List)
|
||||
tiles := renderMapblocks(ctx, jobs, result.List)
|
||||
|
||||
lastcoords = *result.LastPos
|
||||
rstate.LastMtime = result.LastMtime
|
||||
@ -63,7 +63,8 @@ func initialRender(ctx *app.App, jobs chan *coords.TileCoords) {
|
||||
progress := int(float64(rstate.LegacyProcessed) / float64(totalLegacyCount) * 100)
|
||||
|
||||
fields := logrus.Fields{
|
||||
"count": len(result.List),
|
||||
"mapblocks": len(result.List),
|
||||
"tiles": tiles,
|
||||
"processed": rstate.LegacyProcessed,
|
||||
"progress%": progress,
|
||||
"X": lastcoords.X,
|
||||
|
Loading…
Reference in New Issue
Block a user