You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Reenable party list cache, log party name look failure with negative cache TTL (#1395)
## Description
Party list cache was by a mistake disabled, this reenables it. Also, add
a log entry when party name lookup fails due to remote API response
indicates no name (usually due to missing party profile). Cache negative
responses for just 10 seconds (instead of the default 24 hours).
## Related Issue(s)
- N/A
## Verification
- [x] **Your** code builds clean without any errors or warnings
- [x] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Enhanced caching for retrieving authorized parties, improving
efficiency.
- Introduced logging capabilities in the Party Name Registry client for
better error tracking.
- **Bug Fixes**
- Improved error handling in the Party Name Registry client to log
issues with missing names.
- **Refactor**
- Updated caching strategy in the Party Name Registry client for
optimized performance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Co-authored-by: Ole Jørgen Skogstad <skogstad@softis.net>
0 commit comments