Merge branch 'master' into CDB-3686
This commit is contained in:
commit
dabcba9f5f
8
NEWS.md
8
NEWS.md
@ -1,6 +1,12 @@
|
|||||||
1.13.1 -- 2014-mm-dd
|
1.13.2 -- 2014-mm-dd
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
|
1.13.1 -- 2014-08-04
|
||||||
|
--------------------
|
||||||
|
|
||||||
|
Enhancements:
|
||||||
|
- Profiler header sent as JSON string
|
||||||
|
|
||||||
|
|
||||||
1.13.0 -- 2014-07-30
|
1.13.0 -- 2014-07-30
|
||||||
--------------------
|
--------------------
|
||||||
|
@ -240,8 +240,7 @@ var CartodbWindshaft = function(serverOptions) {
|
|||||||
},
|
},
|
||||||
function finish(err, response){
|
function finish(err, response){
|
||||||
if ( req.profiler ) {
|
if ( req.profiler ) {
|
||||||
var report = req.profiler.toString();
|
res.header('X-Tiler-Profiler', req.profiler.toJSONString());
|
||||||
res.header('X-Tiler-Profiler', report);
|
|
||||||
}
|
}
|
||||||
if (err){
|
if (err){
|
||||||
response = { error: ''+err };
|
response = { error: ''+err };
|
||||||
@ -297,8 +296,7 @@ var CartodbWindshaft = function(serverOptions) {
|
|||||||
},
|
},
|
||||||
function finish(err, response){
|
function finish(err, response){
|
||||||
if ( req.profiler ) {
|
if ( req.profiler ) {
|
||||||
var report = req.profiler.toString();
|
res.header('X-Tiler-Profiler', req.profiler.toJSONString());
|
||||||
res.header('X-Tiler-Profiler', report);
|
|
||||||
}
|
}
|
||||||
if (err){
|
if (err){
|
||||||
var statusCode = 400;
|
var statusCode = 400;
|
||||||
@ -609,8 +607,7 @@ var CartodbWindshaft = function(serverOptions) {
|
|||||||
|
|
||||||
function finish_instanciation(err, response, res, req) {
|
function finish_instanciation(err, response, res, req) {
|
||||||
if ( req.profiler ) {
|
if ( req.profiler ) {
|
||||||
var report = req.profiler.toString();
|
res.header('X-Tiler-Profiler', req.profiler.toJSONString());
|
||||||
res.header('X-Tiler-Profiler', report);
|
|
||||||
}
|
}
|
||||||
if (err) {
|
if (err) {
|
||||||
var statusCode = 400;
|
var statusCode = 400;
|
||||||
|
2
npm-shrinkwrap.json
generated
2
npm-shrinkwrap.json
generated
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "windshaft-cartodb",
|
"name": "windshaft-cartodb",
|
||||||
"version": "1.13.1",
|
"version": "1.13.2",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"node-varnish": {
|
"node-varnish": {
|
||||||
"version": "0.3.0",
|
"version": "0.3.0",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"private": true,
|
"private": true,
|
||||||
"name": "windshaft-cartodb",
|
"name": "windshaft-cartodb",
|
||||||
"version": "1.13.1",
|
"version": "1.13.2",
|
||||||
"description": "A map tile server for CartoDB",
|
"description": "A map tile server for CartoDB",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"cartodb"
|
"cartodb"
|
||||||
|
Loading…
Reference in New Issue
Block a user