Solved zombie process and resource consumption overrun issue when rendering reports
This commit is contained in:
@@ -201,7 +201,7 @@ namespace AyaNova.Api.Controllers
|
||||
//handles it at a lower level
|
||||
//returning an OK method here allows the client to handle it at the level of the report dialog rather than the api handler which will short circuit if it was a 503
|
||||
if (!Util.ReportRenderManager.RenderSlotAvailable(log))
|
||||
return Ok(ApiOkResponse.Response(new { busy = true, retryafter = DateTime.UtcNow.AddMilliseconds(ServerBootConfig.AYANOVA_REPORT_RENDERING_TIMEOUT) }));
|
||||
return Ok(ApiOkResponse.Response(new { busy = true, retryms = ServerBootConfig.AYANOVA_REPORT_RENDERING_TIMEOUT }));
|
||||
|
||||
ReportBiz biz = ReportBiz.GetBiz(ct, HttpContext);
|
||||
if (!Authorized.HasReadFullRole(HttpContext.Items, biz.BizType))
|
||||
|
||||
Reference in New Issue
Block a user