From 4e7f92c60da3e4398fb35aa27e3604a84803bf40 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Mon, 18 Mar 2013 18:14:18 +0100 Subject: [PATCH] Write a deprecation warning when handling SIGUSR1 (#71) --- app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app.js b/app.js index 7b5af0b5..ab75651a 100755 --- a/app.js +++ b/app.js @@ -48,6 +48,7 @@ ws.on('listening', function() { // DEPRECATED, use SIGUSR2 process.on('SIGUSR1', function() { + console.log('WARNING: handling of SIGUSR1 by Windshaft-CartoDB is deprecated, please send SIGUSR2 instead'); ws.dumpCacheStats(); });