Remove import jobs stats from /health/info #1336
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://eaflood.atlassian.net/browse/WATER-4670
After making some changes to water-abstraction-import we found it was no longer completing when run. The issue seemed to be
We've always suspected that the features the previous team added to improve performance (pg-boss message queues and caching to Redis) were actually impacting it.
Initially, we planned to go through all the 'jobs' involved in importing data from NALD and strip out this overhead. We carried out a spike, and our timings are much, much better, proving our suspicions.
However, this was a live issue, so we removed the step and tweaked the times to get the import working again.
In the meantime, we'll either complete the spike or WATER-4535, a replacement for the licence import. Either way, the block of job stats we display on the
/health/info
page will be redundant. In fact, we don't use or look at it anyway, even when there is an issue.So, this removes all logic related to job information from the
/health/info
page in readiness.