Require Windshaft 0.8.4 to add dump of cache stats on SIGUSR1

remotes/origin/use_db_slaves
Sandro Santilli 12 years ago
parent 2510a47262
commit e408d04fc5

@ -45,3 +45,7 @@ ws.listen(global.environment.port, global.environment.host);
ws.on('listening', function() {
console.log("Windshaft tileserver started on " + global.environment.host + ':' + global.environment.port);
});
process.on('SIGUSR1', function() {
ws.dumpCacheStats();
});

@ -57,3 +57,6 @@ cluster.listen(function(cb) {
console.log("Windshaft tileserver started on port " + global.environment.port);
});
process.on('SIGUSR1', function() {
ws.dumpCacheStats();
});

@ -254,7 +254,7 @@
}
},
"windshaft": {
"version": "0.8.3",
"version": "0.8.4",
"dependencies": {
"express": {
"version": "2.5.11",

@ -22,7 +22,7 @@
"node-varnish": "0.1.1",
"underscore" : "~1.3.3",
"grainstore" : "~0.10.10",
"windshaft" : "~0.8.3",
"windshaft" : "~0.8.4",
"step": "0.0.x",
"generic-pool": "1.0.x",
"redis": "0.7.2",

Loading…
Cancel
Save