Wait longer for dns in apptask

name.com often takes longer to sync all nameservers, which means we
timeout too early for them
This commit is contained in:
Johannes Zellner
2018-05-10 15:06:03 +02:00
parent 39dc5da05a
commit aa5952fe0b
+1 -1
View File
@@ -341,7 +341,7 @@ function waitForDnsPropagation(app, callback) {
sysinfo.getPublicIp(function (error, ip) {
if (error) return callback(error);
domains.waitForDnsRecord(app.fqdn, app.domain, ip, { interval: 5000, times: 120 }, callback);
domains.waitForDnsRecord(app.fqdn, app.domain, ip, { interval: 5000, times: 240 }, callback);
});
}