-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly prefer BGS POA on cached appeals attributes (#13554)
connects #13384 ### Description We prefer displaying BGS POA name, so explicitly cache that. Otherwise, the `PowerOfAttorney` model will trigger loads of VACOLS `case_record` and `representative` that we will not use. If BGS POA is not found, fall back to VACOLS. In my manual tests in production, this greatly reduces calls to VACOLS, and instead shifts POA info to the BGS service (which is now cached for 30 days in Redis).
- Loading branch information
Showing
2 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters