This commit is contained in:
@@ -200,7 +200,7 @@ namespace AyaNova.Api.Controllers
|
||||
//Note that this *should* normally return a 503 however we're pretty tightly wired into that meaning the server is closed at the client end which
|
||||
//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())
|
||||
if (!Util.ReportRenderManager.RenderSlotAvailable(log))
|
||||
return Ok(ApiOkResponse.Response(new { busy = true, retryafter = DateTime.UtcNow.AddMilliseconds(ServerBootConfig.AYANOVA_REPORT_RENDERING_TIMEOUT) }));
|
||||
|
||||
ReportBiz biz = ReportBiz.GetBiz(ct, HttpContext);
|
||||
|
||||
Reference in New Issue
Block a user