Is there a way to cancel report generation process after calling it through the API?
-
Our setup uses a dockerized JSReport instance through the API to generate very large reports with generation times that can be several minutes long. There are cases where we want to limit processing on the report server to optimize our resources.
Is there a way to cancel a report generation process that is currently in flight? One way I've tried is to cancel the API request from my API client, but the report generation is still carried out to the end.
Thanks!
-
Great question!
In jsreport v2, there is no way to cancel it.
in v3 this works by design. Closing the request also immediately terminates its execution.