Add more timing in the profile, add useProfiler config variable

Default to useProfiler:true in staging and development
This commit is contained in:
Sandro Santilli
2013-07-16 16:33:03 +02:00
parent 25c46962cb
commit ec97381820
9 changed files with 32 additions and 47 deletions
@@ -63,6 +63,10 @@ var config = {
port: 6082,
ttl: 86400
}
// If useProfiler is true every response will be served with an
// X-Tiler-Profile header containing elapsed timing for various
// steps taken for producing the response.
,useProfiler:true
};
module.exports = config;