Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/pull/144'
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jan 8, 2017
2 parents 7211cb7 + 55c410c commit e25bfdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gen_tile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static void parameterize_map_max_connections(Map &m, int num_threads) {
parameters params = l.datasource()->params();
if (params.find("max_size") == params.end()) {
sprintf(tmp, "%i", num_threads + 2);
params["max_size"] = tmp;
params["max_size"] = std::string(tmp);
}
#if MAPNIK_VERSION >= 200200
l.set_datasource(datasource_cache::instance().create(params));
Expand Down

0 comments on commit e25bfdb

Please sign in to comment.