Skip to content

Conversation

@goktuggurler
Copy link

This change introduces the feature of caching the response from getPotentialClients() method. The cache is valid for the given duration. In case the cache is empty or the data is stale, a new map is fetched using the method.

The reason for caching is to avoid the iterating operation, which is heavy both in terms of computation and memory.

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.

1 participant