don't log when cleaning up idle channels

pull/1/head
ansuz 8 years ago
parent be69e2828c
commit 4b64f00cc0

@ -138,8 +138,7 @@ module.exports.create = function (conf, cb) {
Object.keys(env.channels).forEach(function (id) { Object.keys(env.channels).forEach(function (id) {
var channel = env.channels[id]; var channel = env.channels[id];
if (now - channel.atime > (1000 * 60)) { if (now - channel.atime > (1000 * 60)) {
console.log("Cleaning up channel [%s]", id); //console.log("Cleaning up idle channel [%s]", id);
channel.stream.close(); channel.stream.close();
delete env.channels[id]; delete env.channels[id];
} }

Loading…
Cancel
Save