This commit is contained in:
@@ -13,12 +13,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
todo: timeout for reporting should be used for all areas where a timeout is specified for puppeteer sharp so that everything is in agreement
|
|
||||||
or, maybe what is required is to set them unusually high to allow for mega reports adn let the zombie reaper handle based on user settings!!!
|
|
||||||
because we don't want a 30 second limit in puppeteer to kill a report when they set it to be 2 minutes timeout because they know they have a huge report to print from time to time
|
|
||||||
|
|
||||||
|
|
||||||
todo: add code for client reporting to handle a busy response
|
todo: add code for client reporting to handle a busy response
|
||||||
perhaps it retries after the delay a fixed number of times then reports back a fail / retry later to the user
|
perhaps it retries after the delay a fixed number of times then reports back a fail / retry later to the user
|
||||||
joyce suggested a folksy message regarding server busy, something friendly and non techy sounding
|
joyce suggested a folksy message regarding server busy, something friendly and non techy sounding
|
||||||
|
|||||||
@@ -106,6 +106,16 @@ export default {
|
|||||||
reportDataOptions
|
reportDataOptions
|
||||||
);
|
);
|
||||||
this.rendering = false;
|
this.rendering = false;
|
||||||
|
|
||||||
|
if (res.data && res.data.busy) {
|
||||||
|
window.$gz.eventBus.$emit(
|
||||||
|
"notify-warning",
|
||||||
|
"Dammit captain, I'm giving it all she's got, try again later"
|
||||||
|
);
|
||||||
|
this.resolve(null);
|
||||||
|
this.isVisible = false;
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (res.error) {
|
if (res.error) {
|
||||||
this.reject(res);
|
this.reject(res);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user