This commit is contained in:
2021-12-23 17:48:01 +00:00
parent 3c678a9359
commit 427e8c0242
2 changed files with 4 additions and 0 deletions

View File

@@ -260,6 +260,9 @@ TODO: 1 BETA DOCS:
so either a periodic job to kill them or the next render looks to kill timed out renderings
when report the router starts the timer and sends it on to all the sub processes and tags it in the render instance bag so if past that time kill it
- 1 todo: call this in a regular housekeeping job, not just the report controller (should remove from report controller??):
//check for an kill any expired prior renders stuck around
Util.ReportRenderManager.KillExpiredRenders(log);
- 1 todo: add timeout to getreportdata methods so that they can bail if they take too long, maybe tied into report timeout??
this is necessary because the overwhelming majority of time is spent gathering the report data not in the actual report rendering

View File

@@ -112,6 +112,7 @@ export default {
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 }));
if (res.data && res.data.busy) {
window.$gz.eventBus.$emit(
"notify-warning",