feat(*): Set delete channel timeout to use minutes, not seconds for production

This commit is contained in:
2020-10-26 17:26:08 +00:00
parent 48e23eb2f2
commit 69b24b8998
+1 -1
View File
@@ -147,7 +147,7 @@ function makeTempChannel(message) {
.catch(logger.error);
// Delete the channel after 20 seconds
setTimeout(function(){ deleteChannel(message, createdChannelId); }, (config.channeldeletetimeinminutes * 1000) );
setTimeout(function(){ deleteChannel(message, createdChannelId); }, (config.channeldeletetimeinminutes * 1000 * 60) );
}
function deleteChannel(message, channelId) {