Merge pull request #597 from CartoDB/upgrade-windshaft

Upgrade windshaft
This commit is contained in:
Raul Ochoa
2016-12-02 10:32:44 +01:00
committed by GitHub
7 changed files with 34 additions and 12 deletions
@@ -111,6 +111,10 @@ var config = {
// Important: check the configuration of uv_threadpool_size to use suitable value
poolSize: 8,
// Whether grainstore will use a child process or not to transform CartoCSS into Mapnik XML.
// This will prevent blocking the main thread.
useCartocssWorkers: false,
// Metatile is the number of tiles-per-side that are going
// to be rendered at once. If all of them will be requested
// we'd have saved time. If only one will be used, we'd have
@@ -105,6 +105,10 @@ var config = {
// Important: check the configuration of uv_threadpool_size to use suitable value
poolSize: 8,
// Whether grainstore will use a child process or not to transform CartoCSS into Mapnik XML.
// This will prevent blocking the main thread.
useCartocssWorkers: false,
// Metatile is the number of tiles-per-side that are going
// to be rendered at once. If all of them will be requested
// we'd have saved time. If only one will be used, we'd have
+4
View File
@@ -105,6 +105,10 @@ var config = {
// Important: check the configuration of uv_threadpool_size to use suitable value
poolSize: 8,
// Whether grainstore will use a child process or not to transform CartoCSS into Mapnik XML.
// This will prevent blocking the main thread.
useCartocssWorkers: false,
// Metatile is the number of tiles-per-side that are going
// to be rendered at once. If all of them will be requested
// we'd have saved time. If only one will be used, we'd have
+4
View File
@@ -104,6 +104,10 @@ var config = {
// Important: check the configuration of uv_threadpool_size to use suitable value
poolSize: 8,
// Whether grainstore will use a child process or not to transform CartoCSS into Mapnik XML.
// This will prevent blocking the main thread.
useCartocssWorkers: false,
// Metatile is the number of tiles-per-side that are going
// to be rendered at once. If all of them will be requested
// we'd have saved time. If only one will be used, we'd have
+1
View File
@@ -70,6 +70,7 @@ module.exports = {
},
datasource: global.environment.postgres,
cachedir: global.environment.millstone.cache_basedir,
use_workers: rendererConfig.mapnik.useCartocssWorkers || false,
mapnik_version: global.environment.mapnik_version,
mapnik_tile_format: global.environment.mapnik_tile_format || 'png',
default_layergroup_ttl: global.environment.mapConfigTTL || 7200
+16 -11
View File
@@ -73,7 +73,7 @@
},
"unpipe": {
"version": "1.0.0",
"from": "unpipe@1.0.0",
"from": "unpipe@>=1.0.0 <1.1.0",
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz"
}
}
@@ -90,7 +90,7 @@
},
"mime-types": {
"version": "2.1.13",
"from": "mime-types@>=2.1.2 <2.2.0",
"from": "mime-types@>=2.1.13 <2.2.0",
"resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.13.tgz",
"dependencies": {
"mime-db": {
@@ -712,7 +712,7 @@
"dependencies": {
"unpipe": {
"version": "1.0.0",
"from": "unpipe@1.0.0",
"from": "unpipe@>=1.0.0 <1.1.0",
"resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz"
}
}
@@ -1396,9 +1396,9 @@
"resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz"
},
"windshaft": {
"version": "2.6.2",
"from": "windshaft@2.6.2",
"resolved": "https://registry.npmjs.org/windshaft/-/windshaft-2.6.2.tgz",
"version": "2.6.3",
"from": "windshaft@2.6.3",
"resolved": "https://registry.npmjs.org/windshaft/-/windshaft-2.6.3.tgz",
"dependencies": {
"abaculus": {
"version": "1.1.0-cdb7",
@@ -1447,9 +1447,9 @@
}
},
"grainstore": {
"version": "1.2.0",
"from": "grainstore@1.2.0",
"resolved": "https://registry.npmjs.org/grainstore/-/grainstore-1.2.0.tgz",
"version": "1.3.0",
"from": "grainstore@1.3.0",
"resolved": "https://registry.npmjs.org/grainstore/-/grainstore-1.3.0.tgz",
"dependencies": {
"carto": {
"version": "0.9.5-cdb2",
@@ -1497,6 +1497,11 @@
}
}
},
"generic-pool": {
"version": "2.2.2",
"from": "generic-pool@>=2.2.0 <2.3.0",
"resolved": "https://registry.npmjs.org/generic-pool/-/generic-pool-2.2.2.tgz"
},
"millstone": {
"version": "0.6.16",
"from": "millstone@0.6.16",
@@ -4352,7 +4357,7 @@
"dependencies": {
"strip-ansi": {
"version": "3.0.1",
"from": "strip-ansi@>=3.0.0 <4.0.0",
"from": "strip-ansi@>=3.0.1 <4.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"dependencies": {
"ansi-regex": {
@@ -4622,7 +4627,7 @@
},
"strip-ansi": {
"version": "3.0.1",
"from": "strip-ansi@>=3.0.0 <4.0.0",
"from": "strip-ansi@>=3.0.1 <4.0.0",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
"dependencies": {
"ansi-regex": {
+1 -1
View File
@@ -39,7 +39,7 @@
"step-profiler": "~0.3.0",
"turbo-carto": "0.18.0",
"underscore": "~1.6.0",
"windshaft": "2.6.2",
"windshaft": "2.6.3",
"yargs": "~5.0.0"
},
"devDependencies": {