Skip to content

Conversation

@kalinkrustev
Copy link
Contributor

@kalinkrustev kalinkrustev commented Dec 12, 2025

Catbox clients are not supposed to be used directly. Instead we must use the Catbox.Policy class, which implements a proper handling of the get() - specifically this:

Multiple concurrent requests are queued and processed once

Usage of set() is not required, instead we pass a generateFunc to the Policy
See the docs of the Policy.get() here https://hapi.dev/module/catbox/api/?v=12.1.1#api-1

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants