Skip to content

Commit

Permalink
Ensure increased timeout it used in all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
geographika committed Feb 28, 2024
1 parent 326f56b commit 46c5d6b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/util/ApplicationMixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,11 @@ Ext.define('CpsiMapview.util.ApplicationMixin', {
beforeInit: function () {

var me = this;
Ext.Ajax.timeout = 60000; // default is 30000 (30 seconds) increase to a minute

// default timeout is 30000 (30 seconds) increase this to a minute
var timeout = 60000;
Ext.Ajax.setTimeout(timeout);
Ext.override(Ext.data.proxy.Ajax, { timeout: timeout });

// disable warnings about the map panel having no title
// https://docs.sencha.com/extjs/6.0.0/guides/upgrades_migrations/extjs_upgrade_guide.html#upgrades_migrations-_-extjs_upgrade_guide_-_aria_regions_should_have_a_title
Expand Down

0 comments on commit 46c5d6b

Please sign in to comment.