View Full Version : Overriding AJAX request default timeout does not work

15 Jul 2015, 2:11 AM
Hello everyone,

I'm just trying to migrate my Sencha applications to the recent release. But facing an issue with AJAX timeout duration. The code snippet below has been working well until the recent 6.0 release. Now it does not work anymore.

So, what is proper way of overriding the default AJAX request timeout using Ext JS 6?

Ext.Ajax.timeout= 60000;

15 Jul 2015, 3:47 AM
Found it after inspecting AJAX request implementation; AJAX request timeout can be changed by using Ext.Ajax.setTimeout(miliseconds) function.