allow to set user specific IMAP max connections

This commit is contained in:
Andris Reinman 2019-02-12 13:24:15 +02:00
parent 39bd87ebaa
commit c7e4ff27e7

View file

@ -240,7 +240,7 @@ module.exports = done => {
let iPos = 0; let iPos = 0;
let startInterfaces = () => { let startInterfaces = () => {
if (iPos >= ifaceOptions.length) { if (iPos >= ifaceOptions.length) {
return done(); return db.redis.del('lim:imap', () => done());
} }
let opts = ifaceOptions[iPos++]; let opts = ifaceOptions[iPos++];