mirror of
https://bitbucket.org/s_l_teichmann/mtsatellite
synced 2024-12-24 09:10:17 +01:00
mtwebmapper: Pass right base dir to pyramid update workers.
This commit is contained in:
parent
58d30b1323
commit
4e80236e26
@ -127,7 +127,7 @@ func (tu *tileUpdater) doUpdates() {
|
|||||||
pJobs := make(chan xzm)
|
pJobs := make(chan xzm)
|
||||||
for i, n := 0, min(len(parentJobs), tu.workers); i < n; i++ {
|
for i, n := 0, min(len(parentJobs), tu.workers); i < n; i++ {
|
||||||
done.Add(1)
|
done.Add(1)
|
||||||
go updatePyramidTiles(level, baseDir, pJobs, &done)
|
go updatePyramidTiles(level, tu.mapDir, pJobs, &done)
|
||||||
}
|
}
|
||||||
ppJobs := make(map[xz]uint16)
|
ppJobs := make(map[xz]uint16)
|
||||||
for c, mask := range parentJobs {
|
for c, mask := range parentJobs {
|
||||||
|
Loading…
Reference in New Issue
Block a user