From 4e80236e260121d24bf93b8e59e4ce0c9dde95ac Mon Sep 17 00:00:00 2001 From: "Sascha L. Teichmann" Date: Sun, 21 Sep 2014 13:29:03 +0200 Subject: [PATCH] mtwebmapper: Pass right base dir to pyramid update workers. --- cmd/mtwebmapper/tilesupdater.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mtwebmapper/tilesupdater.go b/cmd/mtwebmapper/tilesupdater.go index ab1690e..4dbce68 100644 --- a/cmd/mtwebmapper/tilesupdater.go +++ b/cmd/mtwebmapper/tilesupdater.go @@ -127,7 +127,7 @@ func (tu *tileUpdater) doUpdates() { pJobs := make(chan xzm) for i, n := 0, min(len(parentJobs), tu.workers); i < n; i++ { done.Add(1) - go updatePyramidTiles(level, baseDir, pJobs, &done) + go updatePyramidTiles(level, tu.mapDir, pJobs, &done) } ppJobs := make(map[xz]uint16) for c, mask := range parentJobs {