When extjs makes an Ajax request, the default time is 30 seconds. If the data query time exceeds 30 seconds, extjs reports an error.
In this case, you need to modify the extjs timeout time:
Two methods:
1: add the :( Timeout: 100000000) attribute during Ajax requests.
Ext. ajax. request ({URL: 'foo. PHP ', success: somefn, failure: otherfn, timeout: 100000000, // default 30000 milliseconds headers: {'my-head': 'foo'}, Params: {FOO: 'bar '}});
2: Add Ext. Ajax. Timeout = 180000 at the beginning of JS;
Ext. onready (function () {Ext. blank_image_url = '.. /.. /common/ext3/resources/images/default/s.gif '; Ext. ajax. timeout = 180000; var datetype; // Report Type
After the test, the first and second settings are invalid.
If the relationship is too busy, we can test it first. I think the most important thing to do is to optimize the database. After all, it is unacceptable to make a query so that users can wait for three minutes. 1 minute is unacceptable.
PS: software developers are responsible for and themselves from the customer's perspective.