Expected behavior
When viewing the results of an Incidence Rate, I expect that the polling is only done when there is a source actively generating.
Actual behavior
Polling for information happens even though nothing is running.
Steps to reproduce behavior
Generate an IR on a source. Once complete, navigate to the generation page. With Chrome Dev tools open, note the network traffic. On my side, the end point /WebAPI/ir/<id>/info is hit ~5 sec.
Side effect
I've observed that sources generated from an IR disappear from time-to-time and it may be related to this problem if there is a delay in getting a response from WebAPI. Just noting it here since it may be related.
Expected behavior
When viewing the results of an Incidence Rate, I expect that the polling is only done when there is a source actively generating.
Actual behavior
Polling for information happens even though nothing is running.
Steps to reproduce behavior
Generate an IR on a source. Once complete, navigate to the generation page. With Chrome Dev tools open, note the network traffic. On my side, the end point
/WebAPI/ir/<id>/infois hit ~5 sec.Side effect
I've observed that sources generated from an IR disappear from time-to-time and it may be related to this problem if there is a delay in getting a response from WebAPI. Just noting it here since it may be related.