try harder for ec2 boxes

This commit is contained in:
Girish Ramakrishnan 2016-08-13 00:55:32 -07:00
parent 0056e7cfec
commit 7037c5c2f1

View File

@ -197,7 +197,7 @@ ImapProbe.prototype._scanBox = function (needle, callback) {
ImapProbe.prototype.probe = function (needle, callback) { ImapProbe.prototype.probe = function (needle, callback) {
var that = this; var that = this;
var times = needle.times || 5, interval = needle.interval || 20000; var times = needle.times || 10, interval = needle.interval || 30000;
this._connection.once('error', callback); this._connection.once('error', callback);