Chrome timeout Ajax request after 120 seconds?

房东的猫 提交于 2019-12-01 21:19:43

try to add timeout: xxx (in ms) to your AJAX call

example:

$.ajax({
  url: "test.html",
  timeout: 240000,
  context: document.body,
  success: function(){
    $(this).addClass("done");
  }
});

I already had your problem!I use set_time_limit(0) but my script stop after 630 Seconds!i put long time on this problem and i figure out that server firewall kill my process!maybe your problem is this too!if you access to your server WHM go to Process manager and take a look at your process! ;)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!