Write a deprecation warning when handling SIGUSR1 (#71)
This commit is contained in:
parent
d95ac85b17
commit
4e7f92c60d
1
app.js
1
app.js
@ -48,6 +48,7 @@ ws.on('listening', function() {
|
|||||||
|
|
||||||
// DEPRECATED, use SIGUSR2
|
// DEPRECATED, use SIGUSR2
|
||||||
process.on('SIGUSR1', function() {
|
process.on('SIGUSR1', function() {
|
||||||
|
console.log('WARNING: handling of SIGUSR1 by Windshaft-CartoDB is deprecated, please send SIGUSR2 instead');
|
||||||
ws.dumpCacheStats();
|
ws.dumpCacheStats();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user