Closed keton closed 6 years ago
I have added a patch to increase the default timeout to 300 seconds to the latest GIT version.
To properly override the timeout, you can copy and paste the following JS snippet to your JS console:
Ext.define("PartKeepr.RestOverride", {
override: 'PartKeepr.data.HydraProxy',
timeout: 300000,
});
System Information
How to reproduce
project reports
. After 30s error message described above will appearWhat's most likely going on
(correct me if I'm wrong, I don't know php/Symphony)
project reports
by AJAX calls render ok but it takes longer than 30s. Data seem to be valid JSONext-all.js
inpartkeepr-1.3.0/web/js/packages/extjs6/build
that has timeouts extended to 600 seconds and my partkeepr instance has started to work. For reference my current database takes about 45s to render in "Project reports" and most likely it will take longer as part list grows.So would it be possible to configure ExtJS timeout somehow? I don't like idea of blindly patching library I don't know every time there's partkeepr update.
There is
Ext.Ajax.setTimeout(timeout)
function that should do just that but it has no effect when it's executed in javascript console of partkeepr interface.