Fix hostname timeouts
This commit is contained in:
parent
8e402773b4
commit
f891bd69fa
|
@ -24,7 +24,7 @@ function test_ipv4() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "https://v4.ip6.biz/hostname.php",
|
url: "https://v4.ip6.biz/hostname.php",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
timeout: 2000,
|
timeout: 5000,
|
||||||
success: function(resp) {
|
success: function(resp) {
|
||||||
if (resp.status == "ok") {
|
if (resp.status == "ok") {
|
||||||
$p.find(".proto_hostname").html(resp.response);
|
$p.find(".proto_hostname").html(resp.response);
|
||||||
|
@ -91,7 +91,7 @@ function test_ipv6() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: "https://v6.ip6.biz/hostname.php",
|
url: "https://v6.ip6.biz/hostname.php",
|
||||||
dataType: "json",
|
dataType: "json",
|
||||||
timeout: 2000,
|
timeout: 5000,
|
||||||
success: function(resp) {
|
success: function(resp) {
|
||||||
if (resp.status == "ok") {
|
if (resp.status == "ok") {
|
||||||
$p.find(".proto_hostname").html(resp.response);
|
$p.find(".proto_hostname").html(resp.response);
|
||||||
|
|
Loading…
Reference in a new issue