This commit is contained in:
@@ -806,11 +806,30 @@ BUILD 8.0.0-beta.0.6 CHANGES OF NOTE
|
||||
- new download urls case 4053 for details
|
||||
- new docs folder hosting current version of v8 docs https://www.ayanova.com/docs/
|
||||
this is for our use so don't need to spin up a server to view the docs but will likely be the permanent url for v8 docs once all is done
|
||||
I have coded everything so that users will go to their *own* server's docs page not our server when they want to read docs to save us traffic etc
|
||||
however we will need a static place for docs when we post them on our site for explaining specific situations or when emailing someone a help link and that's what this will be for
|
||||
- fixed query bug in workorderlist AGE column incorrectly calculated
|
||||
note that it may or may not be daylight saving time aware, I'm not sure at this point as it depends on a lot of 3rd party stuff between os's and postgre etc
|
||||
but history will be on our side in any case as most places will be getting rid of DST at some point so it won't matter then.
|
||||
It's potentially possible that it's age is out by an hour if there is a DST change between now and when the wo was created
|
||||
Note that this AGE value is not used for anything other than displaying to the user so it's not going to break anything if it is out by an hour in some cases.
|
||||
- Added caching to workorder report viz field resulting in a 160% report rendering speed improvement in a test of 100 workorders
|
||||
- fixed "Service Dispatch" report template that had a duplicate translation key in it: "WorkOrderItemPartQuantity"
|
||||
(note you can check for this during report development by looking at the server log which will show the following error when the report is rendered:
|
||||
2021-12-22 16:19:07.0290|ERROR|AyaNova.Biz.TranslationBiz|********* GetSubsetAsync problem: Duplicate keys: WorkOrderItemPartQuantity)
|
||||
- Removed AYANOVA_REPORT_RENDERING_SLOTS setting, no longer required
|
||||
now there are infinite slots available, no limit as this was never the issue and the timeout changes below will automatically take care of any
|
||||
report rendering that is in progress for too long and will if necessary kill the chromium process
|
||||
- Changed how AYANOVA_REPORT_RENDERING_TIMEOUT setting is used and interpreted
|
||||
- setting is now in minutes not milliseconds
|
||||
- docs updated to reflect how it works
|
||||
- this setting is now an overall timeout for the entire report rendering process, will stop any processing if it goes over this limit see docs for more info
|
||||
- New automatic server job added that checks every 5 minutes for stuck report rendering processes (ones that went over the AYANOVA_REPORT_RENDERING_TIMEOUT setting) and terminates them
|
||||
- changed display message and help link at web app end for when a timeout happens
|
||||
- Default settings for time out are a best guess by me and we should figure this out as we run into it until we have a sane default for most people.
|
||||
For now I'm defaulting to 3 minutes total for an entire report generation and hard caps of no less than 1 minute and no more than 15 minutes no matter the setting people use
|
||||
Let me know if 3 minutes is not a high enough default or 15 is not max enough for any normal usage you anticipate
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -111,14 +111,14 @@ export default {
|
||||
if (res.error) {
|
||||
this.reject(res);
|
||||
} else {
|
||||
//special handling for busy response meaning no render slots available at the server
|
||||
//this is the error Ok(ApiOkResponse.Response(new { timeout = true, timeoutconfig = ServerBootConfig.AYANOVA_REPORT_RENDERING_TIMEOUT }));
|
||||
// return Ok(ApiOkResponse.Response(new { timeout = true, timeoutconfig = ServerBootConfig.AYANOVA_REPORT_RENDERING_TIMEOUT }));
|
||||
if (res.data && res.data.busy) {
|
||||
//special handling for timeout response at the server
|
||||
if (res.data && res.data.timeout) {
|
||||
window.$gz.eventBus.$emit(
|
||||
"notify-warning",
|
||||
window.$gz.translation.get("ReportRenderTimeOut"),
|
||||
`${this.$store.state.helpUrl}/ay-report-busy`
|
||||
window.$gz.translation
|
||||
.get("ReportRenderTimeOut")
|
||||
.replace("{0}", res.data.timeoutconfigminutes),
|
||||
`${this.$store.state.helpUrl}/ay-report-timeout`
|
||||
);
|
||||
} else {
|
||||
//all ok show report
|
||||
|
||||
Reference in New Issue
Block a user