Some fixes
This commit is contained in:
parent
640d3c2f11
commit
1270ca71f8
13 changed files with 68 additions and 73 deletions
|
@ -86,7 +86,7 @@ const server = new SMTPServer({
|
|||
onData: onData
|
||||
});
|
||||
|
||||
function spawn(callback) {
|
||||
function start(callback) {
|
||||
if (!config.verp.enabled) {
|
||||
return setImmediate(callback);
|
||||
}
|
||||
|
@ -145,4 +145,4 @@ function spawn(callback) {
|
|||
startNextHost();
|
||||
}
|
||||
|
||||
module.exports.spawn = bluebird.promisify(spawn);
|
||||
module.exports.start = bluebird.promisify(start);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue